diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-05-12 02:58:50 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-06-11 15:59:17 +0200 |
commit | 0117b3ff3cda5838506536005f8d1c7e559e8410 (patch) | |
tree | 58f4be5ef23da2894e38c963662507d05de516f6 /.eslintrc.js | |
parent | 8845a77f74f4cc17820ac50ca94bf2658ee95323 (diff) | |
download | node-new-0117b3ff3cda5838506536005f8d1c7e559e8410.tar.gz |
tools: update eslint config
This makes sure the eslint config is up to date for eslint 6.0.0.
PR-URL: https://github.com/nodejs/node/pull/27670
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 32c8574180..fa91d11f73 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -147,7 +147,7 @@ module.exports = { 'no-octal': 'error', 'no-path-concat': 'error', 'no-proto': 'error', - 'no-redeclare': 'error', + 'no-redeclare': ['error', { 'builtinGlobals': false }], 'no-restricted-modules': ['error', 'sys'], /* eslint-disable max-len */ 'no-restricted-properties': [ |