Skip to content

Commit 520b22b

Browse files
authored
chore: add scripts to fix lint (#1136)
1 parent dff4bba commit 520b22b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
"lint:js": "eslint --cache .",
2727
"lint": "npm-run-all -l -p \"lint:**\"",
2828
"test:only": "cross-env NODE_ENV=test jest",
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
"lint:spelling": "cspell \"**/*.*\"",
3033
"test:watch": "npm run test:only -- --watch",
3134
"test:manual": "npm run build && webpack-dev-server test/manual/src/index.js --open --config test/manual/webpack.config.js",

0 commit comments

Comments
 (0)