Skip to content

Commit 31a1c86

Browse files
lucbrinkmanclaude
andcommitted
Add type-checking to pre-commit hook
Updated lint-staged configuration to run TypeScript type checking before commits. This ensures type errors are caught before code is committed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4836b5d commit 31a1c86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
},
4040
"lint-staged": {
4141
"*.{ts,tsx}": [
42+
"bash -c 'tsc --noEmit'",
4243
"eslint --fix",
4344
"prettier --write"
4445
],

0 commit comments

Comments
 (0)