Skip to content

Commit

Permalink
explicit prohibition of ES3 reserved words is no longer required with…
Browse files Browse the repository at this point in the history
… ESLint 8
  • Loading branch information
zloirock committed Dec 27, 2021
1 parent 901d97b commit 39c825a
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,33 +611,6 @@ const es3 = {
'comma-dangle': [ERROR, NEVER],
// encourages use of dot notation whenever possible
'dot-notation': [ERROR, { allowKeywords: false }],
// disallow ES3 reserved words as identifiers
// wait for resolving https://github.com/eslint/eslint/issues/15017
'id-denylist': [ERROR,
'abstract',
'int',
'short',
'boolean',
'interface',
'static',
'byte',
'long',
'char',
'final',
'native',
'synchronized',
'float',
'package',
'throws',
'goto',
'private',
'transient',
'implements',
'protected',
'volatile',
'double',
'public',
],
// disallow function or variable declarations in nested blocks
'no-inner-declarations': ERROR,
// require let or const instead of var
Expand Down

0 comments on commit 39c825a

Please sign in to comment.