Rule: label-undefined
Checks that labels are defined before usage.
This rule is now implemented in the TypeScript compiler and does not need to be used.
Rationale
Using break
or continue
to go to an out-of-scope label is an error in JS.
Config
Not configurable.
Examples
"label-undefined": true
Schema
null