diff --git a/packages/eslint-config-airbnb/rules/best-practices.js b/packages/eslint-config-airbnb/rules/best-practices.js index a221d4d9..1359e58b 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-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()