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

Disallow Unnecessary Labels (no-extra-label) #736

Closed
feross opened this issue Jan 7, 2017 · 1 comment
Closed

Disallow Unnecessary Labels (no-extra-label) #736

feross opened this issue Jan 7, 2017 · 1 comment

Comments

@feross
Copy link
Member

feross commented Jan 7, 2017

This rule is aimed at eliminating unnecessary labels. If a loop contains no nested loops or switches, labeling the loop is unnecessary.

http://eslint.org/docs/rules/no-extra-label

Unlikely to affect many folks, since labels are not very commonly used in JS. Still, a good rule IMO. Also, this rule is automatically fixable.

@feross feross added this to the standard v9 milestone Jan 7, 2017
feross added a commit to standard/eslint-config-standard that referenced this issue Feb 8, 2017
@feross
Copy link
Member Author

feross commented Feb 8, 2017

No ecosystem impact. This will be part of standard v9.

@feross feross closed this as completed Feb 8, 2017
feross added a commit to standard/eslint-config-standard that referenced this issue Feb 9, 2017
@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

1 participant