Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit a6858ee

Browse files
committed
no-empty-label ➡️ no-labels
1 parent c88e937 commit a6858ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/best-practices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = {
4545
// disallow else after a return in an if
4646
'no-else-return': ERROR,
4747
// disallow use of labels for anything other then loops and switches
48-
'no-empty-label': ERROR,
48+
'no-labels': ERROR,
4949
// disallow comparisons to null without a type-checking operator
5050
'no-eq-null': IGNORE,
5151
// disallow use of eval()

0 commit comments

Comments
 (0)