mirror of https://github.com/webpack/webpack.git
add fix command for eslint
This commit is contained in:
parent
0059bcf241
commit
4805027744
|
|
@ -101,6 +101,7 @@
|
|||
"pretest": "npm run lint-files",
|
||||
"lint-files": "npm run lint && npm run beautify-lint",
|
||||
"lint": "eslint lib bin hot buildin \"test/**/webpack.config.js\" \"test/binCases/**/test.js\" \"examples/**/webpack.config.js\"",
|
||||
"fix": "npm run lint -- --fix",
|
||||
"beautify-lint": "beautify-lint \"lib/**/*.js\" \"hot/**/*.js\" \"bin/**/*.js\" \"benchmark/*.js\" \"test/*.js\"",
|
||||
"nsp": "nsp check --output summary",
|
||||
"benchmark": "mocha --max-old-space-size=4096 --harmony test/*.benchmark.js -R spec",
|
||||
|
|
|
|||
Loading…
Reference in New Issue