Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit f5b7883

Browse files
committed
react-boilerplate-typescript-42 Add tsc --noEmit for type checking on pre-commit hook
(merge #41 to fix type checking errors)
1 parent 9464795 commit f5b7883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
},
6464
"husky": {
6565
"hooks": {
66-
"pre-commit": "lint-staged"
66+
"pre-commit": "tsc --noEmit && lint-staged"
6767
}
6868
},
6969
"resolutions": {

0 commit comments

Comments
 (0)