Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 9ccc849

Browse files
authored
chore: add scripts to fix lint (#116)
1 parent 0adcafe commit 9ccc849

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: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
"pretest:only": "cd test/fixtures/example && npm i",
3033
"test:only": "cross-env NODE_ENV=test jest",
3134
"test:watch": "npm run test:only -- --watch",

0 commit comments

Comments
 (0)