diff options
author | Robert Speicher <robert@gitlab.com> | 2016-11-23 07:09:05 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-11-23 07:09:05 +0000 |
commit | 0676c5c7140ccf5b809eddab79b6fb78b7db0a66 (patch) | |
tree | f80459eabf22eff192e790866f53f567ba082830 /package.json | |
parent | d0c0c75ca9568bc3ec00c341a6053623d85e6201 (diff) | |
parent | 459cd939e7a31c833858c86db6003327524800de (diff) | |
download | gitlab-ce-0676c5c7140ccf5b809eddab79b6fb78b7db0a66.tar.gz |
Merge branch 'eslint-html-report' into 'master'
Generate ESLint HTML report
## What does this MR do?
Generate a HTML report for the linting errors that ESLint discovered
(including files that contain `/* eslint-disable */`).
See merge request !7374
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 3d0e21b9848..350e4cd80c9 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "private": true, "scripts": { "eslint": "eslint --ext .js,.js.es6 .", - "eslint-fix": "eslint --fix --ext .js,.js.es6 ." + "eslint-fix": "npm run eslint -- --fix", + "eslint-report": "npm run eslint -- --format html --output-file ./eslint-report.html" }, "devDependencies": { "eslint": "^3.1.1", |