mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 13:28:05 -05:00
[eslint-v2] no-empty-label => no-labels
This commit is contained in:
committed by
Jordan Harband
parent
1bb72ab9e2
commit
d49a1ed670
@@ -32,7 +32,7 @@ module.exports = {
|
||||
// disallow else after a return in an if
|
||||
'no-else-return': 2,
|
||||
// disallow use of labels for anything other then loops and switches
|
||||
'no-empty-label': 2,
|
||||
"no-labels": [2, {"allowLoop": false, "allowSwitch": false}],
|
||||
// disallow comparisons to null without a type-checking operator
|
||||
'no-eq-null': 0,
|
||||
// disallow use of eval()
|
||||
|
||||
Reference in New Issue
Block a user