Skip to content

Build: Move ESLint max-len disable-directive to dist/.eslintrc.json #4676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 27, 2020

Conversation

edg2s
Copy link
Contributor

@edg2s edg2s commented Apr 21, 2020

This disable-directive only applies to the built version, so put it in /dist. This avoids a warning about an unused directive in the source version.
Follow-up to #4520

Checklist

This disable-directive only applies to the built version, so put
it in /dist. This avoids a warning about an unused directive in the
source version.

Follow-up to jquery#4520
Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! No more fake warnings.

@mgol mgol added the Build label Apr 21, 2020
@mgol mgol changed the title eslint: Move max-len disable-directive to dist/.eslintrc.json Build: Move ESLint max-len disable-directive to dist/.eslintrc.json Apr 21, 2020
@mgol
Copy link
Member

mgol commented Apr 21, 2020

@edg2s I edited the PR title, we only use a fixed number of components as defined in package.json's components field.

Our commit guidelines are docummented at:
https://contribute.jquery.org/commits-and-pull-requests/#commit-guidelines
Please have a look.

@edg2s
Copy link
Contributor Author

edg2s commented Apr 21, 2020

As a follow up to this I will submit 2882f19 that will allow us to set max warnings to 0 in grunt-eslint.

@mgol mgol added the Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. label Apr 23, 2020
@mgol mgol removed Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. Needs review labels Apr 27, 2020
@mgol mgol merged commit 34296ec into jquery:master Apr 27, 2020
@mgol
Copy link
Member

mgol commented Apr 27, 2020

Landed, thanks!

@mgol mgol added this to the 4.0.0 milestone Apr 27, 2020
@edg2s edg2s deleted the max-len branch April 27, 2020 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy