Skip to content

Commit 46f9810

Browse files
authored
Build: Enable reportUnusedDisableDirectives in ESLint
This forbids unnecessary `eslint-disable` comments. Ref gh-4095 Closes gh-4520
1 parent 73415da commit 46f9810

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.eslintrc-browser.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
"extends": "jquery",
55

6+
"reportUnusedDisableDirectives": true,
7+
68
"parserOptions": {
79
"ecmaVersion": 5
810
},

.eslintrc-node.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
"extends": "jquery",
55

6+
"reportUnusedDisableDirectives": true,
7+
68
"parserOptions": {
79
"ecmaVersion": 2018
810
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy