Skip to content

Commit 5ec197f

Browse files
authored
chore: add scripts to fix lint (#220)
* chore: add scripts to fix lint * chore: update fix script
1 parent 44d6a5f commit 5ec197f

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
@@ -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 --testTimeout=60000",
3437
"test:watch": "npm run test:only -- --watch",
3538
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",

0 commit comments

Comments
 (0)