Browse Source

Merge "Enable builtinGlobals for no-redeclare"

tags/2.0.0
Jenkins 3 years ago
parent
commit
63fccc1d08
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      .eslintrc

+ 3
- 1
.eslintrc View File

@@ -343,7 +343,9 @@ rules:
343 343
 
344 344
   # Disallow declaring the same variable more than once
345 345
   # http://eslint.org/docs/rules/no-redeclare
346
-  no-redeclare: 2
346
+  no-redeclare:
347
+  - 2
348
+  - builtinGlobals: true
347 349
 
348 350
   # Disallow use of assignment in return statement
349 351
   # http://eslint.org/docs/rules/no-return-assign

Loading…
Cancel
Save