eslint/no-unused-labels Correctness
What it does
Disallow unused labels
Why is this bad?
Labels that are declared and not used anywhere in the code are most likely an error due to incomplete refactoring.
Example
javascript
OUTER_LOOP: for (const student of students) {
if (checkScores(student.scores)) {
continue;
}
doSomething(student);
}