mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: Enable reportUnusedDisableDirectives in ESLint
This forbids unnecessary `eslint-disable` comments. Ref gh-4095 Closes gh-4520
This commit is contained in:
parent
73415da25d
commit
46f9810b73
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
"extends": "jquery",
|
"extends": "jquery",
|
||||||
|
|
||||||
|
"reportUnusedDisableDirectives": true,
|
||||||
|
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 5
|
"ecmaVersion": 5
|
||||||
},
|
},
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
"extends": "jquery",
|
"extends": "jquery",
|
||||||
|
|
||||||
|
"reportUnusedDisableDirectives": true,
|
||||||
|
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 2018
|
"ecmaVersion": 2018
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user