[eslint-v2] fix no-labels rule

This commit is contained in:
Harrison Shoff
2016-02-13 13:41:52 -08:00
committed by Jordan Harband
parent 75807b9d5e
commit 5109c84926

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-labels': [2, { 'allowLoop': true, 'allowSwitch': true }],
'no-labels': [2, { 'allowLoop': false, 'allowSwitch': false }],
// disallow comparisons to null without a type-checking operator
'no-eq-null': 0,
// disallow use of eval()