diff --git a/packages/eslint-config-airbnb/rules/best-practices.js b/packages/eslint-config-airbnb/rules/best-practices.js index d87d70d8..00f7d2d9 100644 --- a/packages/eslint-config-airbnb/rules/best-practices.js +++ b/packages/eslint-config-airbnb/rules/best-practices.js @@ -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()