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:
Ed S 2020-04-20 18:01:20 +01:00 committed by Michał Gołębiowski-Owczarek
parent 65e909844c
commit b21d6710cf
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -3,6 +3,8 @@
"extends": "jquery",
"reportUnusedDisableDirectives": true,
"parserOptions": {
"ecmaVersion": 2017
},