Revert "do not prevent explicit overwrite of globals"

This reverts commit 042e6a3e8f.
This commit is contained in:
Timo Hocker 2020-01-24 10:03:52 +01:00
parent 042e6a3e8f
commit 9169302d0d

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