Skip to content

Commit b6ed7fd

Browse files
authored
chore: add scripts to fix lint (webpack-contrib#230)
1 parent d9ad7c1 commit b6ed7fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
"lint:spelling": "cspell \"**/*.*\"",
3131
"lint:types": "tsc --pretty --noEmit",
3232
"lint": "npm-run-all -l -p \"lint:**\"",
33+
"fix:js": "npm run lint:js -- --fix",
34+
"fix:prettier": "npm run lint:prettier -- --write",
35+
"fix": "npm-run-all -l fix:js fix:prettier",
3336
"test:only": "cross-env NODE_ENV=test jest",
3437
"test:watch": "npm run test:only -- --watch",
3538
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",

0 commit comments

Comments
 (0)