summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2018-06-16 14:24:41 +0200
committerLukas Eipert <leipert@gitlab.com>2018-06-20 14:28:28 +0200
commita0a05a05f7d4353753852374f0a16a18c62ae843 (patch)
tree9b21d0642a29c0ef11964f8582bba9e092a83a11 /package.json
parentbd88a2769c8589c2258237fdd1587da920271cd8 (diff)
downloadgitlab-ce-a0a05a05f7d4353753852374f0a16a18c62ae843.tar.gz
report unused disabled eslint directives
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index cfe347c6eaa..06b07c37d2b 100644
--- a/package.json
+++ b/package.json
@@ -3,8 +3,8 @@
"scripts": {
"clean": "rm -rf public/assets tmp/cache/*-loader",
"dev-server": "nodemon -w 'config/webpack.config.js' --exec 'webpack-dev-server --config config/webpack.config.js'",
- "eslint": "eslint --max-warnings 0 --ext .js,.vue .",
- "eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .",
+ "eslint": "eslint --max-warnings 0 --report-unused-disable-directives --ext .js,.vue .",
+ "eslint-fix": "eslint --max-warnings 0 --report-unused-disable-directives --ext .js,.vue --fix .",
"eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html --no-inline-config .",
"karma": "BABEL_ENV=${BABEL_ENV:=karma} karma start --single-run true config/karma.config.js",
"karma-coverage": "BABEL_ENV=coverage karma start --single-run true config/karma.config.js",