13 If a loop contains no nested loops or switches, labeling the loop is unnecessary.
21 You can achieve the same result by removing the label and using `break` or `continue` without a label.
22 Probably those labels would confuse developers because they expect labels to jump to further.
26 This rule is aimed at eliminating unnecessary labels.
28 Examples of **incorrect** code for this rule:
33 /*eslint no-extra-label: "error"*/
39 B: for (let i = 0; i < 10; ++i) {
51 Examples of **correct** code for this rule:
56 /*eslint no-extra-label: "error"*/
62 for (let i = 0; i < 10; ++i) {
94 If you don't want to be notified about usage of labels, then it's safe to disable this rule.