[eslint-v2] no-empty-label => no-labels

This commit is contained in:
Harrison Shoff
2016-02-12 11:10:30 -08:00
committed by Jordan Harband
parent 1bb72ab9e2
commit d49a1ed670

View File

@@ -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()