From b4995b6416faa714299a39976a0b7107ad7b2afe Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 23 Jul 2017 13:04:22 -0700 Subject: [PATCH] [eslint config] [base] revert breaking part of #1420 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’ll re-enable it in the next major. --- packages/eslint-config-airbnb-base/rules/variables.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/eslint-config-airbnb-base/rules/variables.js b/packages/eslint-config-airbnb-base/rules/variables.js index fc0b5b11..fe38ea5d 100644 --- a/packages/eslint-config-airbnb-base/rules/variables.js +++ b/packages/eslint-config-airbnb-base/rules/variables.js @@ -16,7 +16,8 @@ module.exports = { 'no-label-var': 'error', // disallow specific globals - 'no-restricted-globals': ['error'].concat(restrictedGlobals), + // TODO: enable, semver-major + 'no-restricted-globals': ['off'].concat(restrictedGlobals), // disallow declaration of variables already declared in the outer scope 'no-shadow': 'error',