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 @@ | ... | @@ -2,7 +2,8 @@ |
"private": true, | "private": true, | ||
"scripts": { | "scripts": { | ||
"eslint": "eslint --ext .js,.js.es6 .", | "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": { | "devDependencies": { | ||
"eslint": "^3.1.1", | "eslint": "^3.1.1", | ||
... | ... |
Please register or sign in to comment