Skip to content

Commit fb0ca64

Browse files
authored
Merge pull request webpack#5466 from hzoo/patch-1
add fix command for eslint
2 parents b06d69f + 4805027 commit fb0ca64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
"pretest": "npm run lint-files",
102102
"lint-files": "npm run lint && npm run beautify-lint",
103103
"lint": "eslint lib bin hot buildin \"test/**/webpack.config.js\" \"test/binCases/**/test.js\" \"examples/**/webpack.config.js\"",
104+
"fix": "npm run lint -- --fix",
104105
"beautify-lint": "beautify-lint \"lib/**/*.js\" \"hot/**/*.js\" \"bin/**/*.js\" \"benchmark/*.js\" \"test/*.js\"",
105106
"nsp": "nsp check --output summary",
106107
"benchmark": "mocha --max-old-space-size=4096 --harmony test/*.benchmark.js -R spec",

0 commit comments

Comments
 (0)