aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc-browser.json
diff options
context:
space:
mode:
authorEd S <ejsanders@gmail.com>2020-04-20 18:01:20 +0100
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-04-20 19:06:13 +0200
commitb21d6710cf2d9e227396fe8d78b262dfeb8b3c28 (patch)
treebab479a6497c7760cced81f953a48f5fc6617683 /.eslintrc-browser.json
parent65e909844c2d064606217b47e92eff12ebdb79de (diff)
downloadjquery-b21d6710cf2d9e227396fe8d78b262dfeb8b3c28.tar.gz
jquery-b21d6710cf2d9e227396fe8d78b262dfeb8b3c28.zip
Build: Enable reportUnusedDisableDirectives in ESLint
This forbids unnecessary `eslint-disable` comments. Ref gh-4095 Closes gh-4520 (cherry picked from 46f9810b73a7ad446d7c3711faf92f56b67df3c1)
Diffstat (limited to '.eslintrc-browser.json')
-rw-r--r--.eslintrc-browser.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc-browser.json b/.eslintrc-browser.json
index d580883b2..d27ff6eac 100644
--- a/.eslintrc-browser.json
+++ b/.eslintrc-browser.json
@@ -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.