Skip to content

Commit

Permalink
tools: enable no-var ESLint rule for lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Apr 2, 2022
1 parent ff14db9 commit 5ff599d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ module.exports = {
'no-useless-concat': 'error',
'no-useless-constructor': 'error',
'no-useless-return': 'error',
'no-var': 'error',
'no-void': 'error',
'no-whitespace-before-property': 'error',
'object-curly-newline': 'error',
Expand Down
1 change: 0 additions & 1 deletion benchmark/.eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ env:
es6: true

rules:
no-var: error
prefer-arrow-callback: error
1 change: 0 additions & 1 deletion doc/.eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ rules:
symbol-description: off

# Add new ECMAScript features gradually
no-var: error
prefer-const: error
prefer-rest-params: error
prefer-template: error
Expand Down
1 change: 0 additions & 1 deletion test/.eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ env:

rules:
multiline-comment-style: [error, separate-lines]
no-var: error
prefer-const: error
symbol-description: off

Expand Down
1 change: 0 additions & 1 deletion tools/.eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ rules:
- error
- args: after-used
prefer-arrow-callback: error
no-var: error

0 comments on commit 5ff599d

Please sign in to comment.