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

Commit d519eea

Browse files
authored
Merge pull request #44 from GrayStrider/react-boilerplate-typescript-42
react-boilerplate-typescript-42 Add tsc --noEmit for type checking on pre-commit hook
2 parents 3bb2694 + f5b7883 commit d519eea

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)