Skip to content

Commit 53ad7a1

Browse files
committed
test moving typecheck to only lint-staged files, should pass as formatDate.ts is not staged
1 parent 0ff68ea commit 53ad7a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"storybook:build:css": "sass client/styles/main.scss client/styles/storybook.css",
2828
"storybook": "npm run storybook:build:css && storybook dev -p 6006",
2929
"build-storybook": "storybook build",
30-
"typecheck": "npx tsc --noEmit",
30+
"typecheck": "npm run typecheck:client",
3131
"typecheck:client": "npx tsc --noEmit -p ./client/tsconfig.json"
3232
},
3333
"husky": {
@@ -37,7 +37,8 @@
3737
},
3838
"lint-staged": {
3939
"*.{js,jsx,ts,tsx}": [
40-
"npm run lint-fix"
40+
"npm run lint-fix",
41+
"npm run typecheck"
4142
]
4243
},
4344
"jest": {

0 commit comments

Comments
 (0)