Skip to content

Commit

Permalink
Build: Enable reportUnusedDisableDirectives in ESLint
Browse files Browse the repository at this point in the history
This forbids unnecessary `eslint-disable` comments.

Ref gh-4095
Closes gh-4520
  • Loading branch information
edg2s authored Apr 20, 2020
1 parent 73415da commit 46f9810
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc-browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

"extends": "jquery",

"reportUnusedDisableDirectives": true,

"parserOptions": {
"ecmaVersion": 5
},
Expand Down
2 changes: 2 additions & 0 deletions .eslintrc-node.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

"extends": "jquery",

"reportUnusedDisableDirectives": true,

"parserOptions": {
"ecmaVersion": 2018
},
Expand Down

0 comments on commit 46f9810

Please sign in to comment.