Skip to content

Commit 0870f93

Browse files
authored
fix: change pre-commit typecheck linter (#347)
## Description Switch pre-commit hook from npx to yarn typecheck. ### Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation update (improves or adds clarity to existing documentation)
1 parent 8cf8de9 commit 0870f93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lefthook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pre-commit:
66
run: npx eslint {staged_files}
77
types:
88
glob: '*.{js,ts,jsx,tsx}'
9-
run: npx tsc --noEmit
9+
run: yarn typecheck
1010
format-js:
1111
glob: '*.{js,ts,jsx,tsx}'
1212
run: npx prettier --write {staged_files} && git add {staged_files}

0 commit comments

Comments
 (0)