From 82e6d357b6ba3ec89dec3a4185f29186ace2953b Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Sat, 8 Feb 2020 14:15:50 +0100 Subject: [PATCH] disable no-shadow for globals --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 03133a4..19e286e 100644 --- a/index.js +++ b/index.js @@ -120,7 +120,7 @@ module.exports = { // Variables https://eslint.org/docs/rules/#variables 'init-declarations': ['error', 'always'], 'no-label-var': 'error', - 'no-shadow': ['error', { builtinGlobals: true, hoist: 'all' }], + 'no-shadow': ['error', { builtinGlobals: false, hoist: 'all' }], 'no-undef-init': 'error', 'no-undefined': 'error', 'no-use-before-define': ['error', { functions: false }],