do not prevent explicit overwrite of globals

This commit is contained in:
Timo Hocker 2020-01-24 09:55:13 +01:00
parent 8ff0eb6caf
commit 042e6a3e8f

View File

@ -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: true, hoist: 'never' }],
'no-undef-init': 'error',
'no-undefined': 'error',
'no-use-before-define': 'error',