Skip to content

Commit

Permalink
fix: Disabled old rule thar did not allow the use for of
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom910 authored and SuperOleg39 committed Feb 8, 2022
1 parent 911a7fc commit 89053d0
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions packages/eslint-config/internal/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,7 @@ module.exports = {
'global-require': 'off',
'class-methods-use-this': 'off',
'no-continue': 'off',
'no-restricted-syntax': [
'warn',
{
selector: 'LabeledStatement',
message:
'Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.',
},
{
selector: 'WithStatement',
message:
'`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
},
],
'no-restricted-syntax': 'off',
'guard-for-in': 'off',
'default-case': 'warn',
'no-plusplus': 'off',
Expand Down

0 comments on commit 89053d0

Please sign in to comment.