Skip to content

Commit 0a53820

Browse files
authored
chore: add scripts to fix lint (#651)
1 parent 6a00689 commit 0a53820

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
@@ -26,6 +26,9 @@
2626
"lint:js": "eslint --cache .",
2727
"lint:spelling": "cspell \"**/*.*\"",
2828
"lint": "npm-run-all -l -p \"lint:**\"",
29+
"fix:js": "npm run lint:js -- --fix",
30+
"fix:prettier": "npm run lint:prettier -- --write",
31+
"fix": "npm-run-all -l fix:js fix:prettier",
2932
"test:only": "cross-env NODE_ENV=test jest",
3033
"test:watch": "npm run test:only -- --watch",
3134
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",

0 commit comments

Comments
 (0)