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
(cherry picked from 46f9810b73
)
This commit is contained in:
parent
65e909844c
commit
b21d6710cf
@ -3,6 +3,8 @@
|
||||
|
||||
"extends": "jquery",
|
||||
|
||||
"reportUnusedDisableDirectives": true,
|
||||
|
||||
// Support: IE <=9 only, Android <=4.0 only
|
||||
// The above browsers are failing a lot of tests in the ES5
|
||||
// test suite at http://test262.ecmascript.org.
|
||||
|
@ -3,6 +3,8 @@
|
||||
|
||||
"extends": "jquery",
|
||||
|
||||
"reportUnusedDisableDirectives": true,
|
||||
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2017
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user