Skip to content

Commit 038e01e

Browse files
authored
chore: add scripts to fix lint (#1516)
1 parent 0308067 commit 038e01e

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
@@ -28,6 +28,9 @@
2828
"lint:js": "eslint --cache .",
2929
"lint:spelling": "cspell \"**/*.*\"",
3030
"lint": "npm-run-all -l -p \"lint:**\"",
31+
"fix:js": "npm run lint:js -- --fix",
32+
"fix:prettier": "npm run lint:prettier -- --write",
33+
"fix": "npm-run-all -l fix:js fix:prettier",
3134
"test:only": "cross-env NODE_ENV=test jest",
3235
"test:watch": "npm run test:only -- --watch",
3336
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",

0 commit comments

Comments
 (0)