disable no-shadow for globals
This commit is contained in:
parent
06907fa109
commit
82e6d357b6
2
index.js
2
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 }],
|
||||
|
Loading…
x
Reference in New Issue
Block a user