From 92abace7433cf2ca649d75aef463964258bb944e Mon Sep 17 00:00:00 2001 From: sancodes Date: Thu, 21 Apr 2022 10:40:17 -0700 Subject: [PATCH] add no-redeclare --- .eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index ad65467f98..b00a85412a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -60,7 +60,8 @@ module.exports = { 'no-var': ['error'], 'space-before-blocks': ['error'], 'space-infix-ops': 'error', - 'yoda': 'error' + 'yoda': 'error', + 'no-redeclare': ['error', { 'builtinGlobals': true }] }, settings: { react: {