From d49a1ed670bc1d26a78edc99b9a3b553db9bc13e Mon Sep 17 00:00:00 2001 From: Harrison Shoff Date: Fri, 12 Feb 2016 11:10:30 -0800 Subject: [PATCH] [eslint-v2] no-empty-label => no-labels --- packages/eslint-config-airbnb/rules/best-practices.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()