14 This rule aims to create clearer code by disallowing the bad practice of creating a label that shares a name with a variable that is in scope.
16 Examples of **incorrect** code for this rule:
21 /*eslint no-label-var: "error"*/
34 Examples of **correct** code for this rule:
39 /*eslint no-label-var: "error"*/
41 // The variable that has the same name as the label is not in scope.
59 If you don't want to be notified about usage of labels, then it's safe to disable this rule.