Skip to content

Commit 4b5573c

Browse files
committed
Add fix npm script
1 parent c04a826 commit 4b5573c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@
4040
"scripts": {
4141
"check": "run-p -c --aggregate-output check:*",
4242
"check:lint": "eslint --report-unused-disable-directives .",
43+
"check:lint:fix": "npm run check:lint -- --fix",
4344
"check:tsc": "tsc",
4445
"clean": "run-p --aggregate-output clean:*",
4546
"clean:node_modules": "del-cli '**/node_modules'",
47+
"fix": "run-s lint:fix check:lint:fix",
4648
"knip:dependencies": "knip --dependencies",
4749
"knip:exports": "knip --include exports,duplicates",
4850
"lint": "oxlint -c=./.oxlintrc.json --ignore-path=./.oxlintignore --tsconfig=./tsconfig.json .",

0 commit comments

Comments
 (0)