From 6cb4ebc04870df30d5b6ec528ffcb84a07ab48c5 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 2 Sep 2019 12:44:19 +0300 Subject: ESLint: specify `--report-unused-disable-directives` (#29350) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 8ff9e2e8b..8399c31a2 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config build/rollup.config.js --sourcemap", "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap", "js-compile-plugins": "node build/build-plugins.js", - "js-lint": "eslint --cache --cache-location .cache/.eslintcache .", + "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .", "js-minify": "npm-run-all --parallel js-minify-main js-minify-docs", "js-minify-main": "npm-run-all js-minify-standalone* js-minify-bundle", "js-minify-standalone": "terser --compress typeofs=false --mangle --comments \"/^!/\" --source-map \"content=dist/js/bootstrap.js.map,includeSources,url=bootstrap.min.js.map\" --output dist/js/bootstrap.min.js dist/js/bootstrap.js", -- cgit v1.2.3