Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
Enable builtinGlobals option for no-redeclare
Browse files Browse the repository at this point in the history
This is ESLint 6 by default.
  • Loading branch information
tetsuharuohzeki committed Jun 24, 2019
1 parent fdf9a98 commit 15f4396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/eslintrc_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ module.exports = {
'props': true
}],
'no-proto': 2,
'no-redeclare': 2,
'no-redeclare': ['error', { 'builtinGlobals': true }],
'no-restricted-properties': 0, // https://eslint.org/docs/rules/no-restricted-properties
'no-return-assign': 2, // This is a problem for readability.
'no-return-await': 1, // Warn. Because this is not a serious problem which is same degree with `no-return-assign`.
Expand Down

0 comments on commit 15f4396

Please sign in to comment.