Skip to content

Remove redundant no-label-var rule#132

Merged
feross merged 2 commits intostandard:masterfrom
nickserv:patch-1
Aug 13, 2019
Merged

Remove redundant no-label-var rule#132
feross merged 2 commits intostandard:masterfrom
nickserv:patch-1

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

3 participants