Skip to content

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

@feross

Description

@feross

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions