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. diff --git a/.eslintrc-node.json b/.eslintrc-node.json index 544a92cdc..df9cc24cf 100644 --- a/.eslintrc-node.json +++ b/.eslintrc-node.json @@ -3,6 +3,8 @@ "extends": "jquery", + "reportUnusedDisableDirectives": true, + "parserOptions": { "ecmaVersion": 2017 },