Skip to content

Commit 3541830

Browse files
committed
fix lint/format scripts
1 parent 024ba3e commit 3541830

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
"test:visual": "reg-suit -v run",
2929
"type-check": "tsc --noEmit",
3030
"type-check:watch": "npm run type-check -- --watch",
31-
"format": "npm run lint:src -- --fix && npm run lint:stories -- --fix && npm run lint:test -- --fix",
32-
"lint": "npm run lint:src && npm run lint:stories",
31+
"format": "run-p format:src format:stories",
32+
"format:src": "npm run lint:src -- --fix",
33+
"format:stories": "npm run lint:stories -- --fix",
34+
"lint": "run-p lint:src lint:stories",
3335
"lint:src": "eslint --ext .ts,.tsx src/scripts/**",
3436
"lint:stories": "eslint --ext .ts,.tsx stories/**",
3537
"build": "run-p build:lib build:module build:types",

0 commit comments

Comments
 (0)