summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-05-12 02:58:50 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2019-06-11 15:59:17 +0200
commit0117b3ff3cda5838506536005f8d1c7e559e8410 (patch)
tree58f4be5ef23da2894e38c963662507d05de516f6 /.eslintrc.js
parent8845a77f74f4cc17820ac50ca94bf2658ee95323 (diff)
downloadandroid-node-v8-0117b3ff3cda5838506536005f8d1c7e559e8410.tar.gz
android-node-v8-0117b3ff3cda5838506536005f8d1c7e559e8410.tar.bz2
android-node-v8-0117b3ff3cda5838506536005f8d1c7e559e8410.zip
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.js2
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': [