Skip to content
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

Remove redundant no-label-var rule #132

Merged
merged 2 commits into from
Aug 13, 2019
Merged

Conversation

nickserv
Copy link
Contributor

no-labels bans all labels, so it's not necessary to enable no-label-var (which lints how labels are used). Additionally, our settings for no-labels are equivalent to the defaults.

no-labels bans all labels, so it's not necessary to enable no-label-var (which lints how labels are used). Additionally, our settings for no-labels are equivalent to the defaults.
@feross
Copy link
Member

feross commented Aug 13, 2019

Thanks for the PR! And good catch about the double warning.

Additionally, our settings for no-labels are equivalent to the defaults.

In these situations, I'd rather be explicit since the defaults can change across ESLint versions and I'd rather we evolve the rules explicitly when we update ESLint instead of just getting a bag of changes. :)

This will ship in standard v14

@feross feross merged commit ff35b71 into standard:master Aug 13, 2019
brettz9 pushed a commit to brettz9/eslint-config-standard that referenced this pull request Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants