Skip to content

Commit 963b59a

Browse files
committed
fix, can't use staging files only while specifying a tscoonfig project
1 parent 69410ad commit 963b59a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@
3232
},
3333
"husky": {
3434
"hooks": {
35-
"pre-commit": "lint-staged"
35+
"pre-commit": "npm run typecheck && lint-staged"
3636
}
3737
},
3838
"lint-staged": {
3939
"*.{js,jsx,ts,tsx}": [
40-
"npm run typecheck",
4140
"npm run lint-fix"
4241
]
4342
},

0 commit comments

Comments
 (0)