diff options
author | winniehell <git@winniehell.de> | 2016-11-09 15:26:03 +0100 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-11-22 20:25:33 +0100 |
commit | 459cd939e7a31c833858c86db6003327524800de (patch) | |
tree | a04771ff2d3c4897180766b1e92c5c6f2ad5c824 /package.json | |
parent | d6603493ea6ef347a5193c6df186c4576ca887b2 (diff) | |
download | gitlab-ce-459cd939e7a31c833858c86db6003327524800de.tar.gz |
Generate ESLint HTML report (!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 2a9fb808eef..93e23d63c36 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", |