From 0117b3ff3cda5838506536005f8d1c7e559e8410 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Sun, 12 May 2019 02:58:50 +0200 Subject: tools: update eslint config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Richard Lau Reviewed-By: Refael Ackermann (רפאל פלחי) Reviewed-By: Daijiro Wachi Reviewed-By: Ujjwal Sharma --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': [ -- cgit v1.2.3