Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDisallow Unnecessary Labels (no-extra-label) #736
Comments
feross
added
the
enhancement
label
Jan 7, 2017
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
This comment has been minimized.
This comment has been minimized.
|
No ecosystem impact. This will be part of standard v9. |
feross
closed this
Feb 8, 2017
feross
added a commit
to standard/eslint-config-standard
that referenced
this issue
Feb 9, 2017
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.
feross commentedJan 7, 2017
•
edited
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.