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
Showing
... | ... | @@ -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", | ||
... | ... |
Please register or sign in to comment