Skip to content

Commit 957fe3f

Browse files
avivkellerMattIPv4
andauthored
chore(pnpm): use installed dependencies for pre-commit hook (#7741)
* chore(pnpm): use installed dependencies * Update pre-commit Co-authored-by: Matt Cowley <me@mattcowley.co.uk> Signed-off-by: Aviv Keller <me@aviv.sh> --------- Signed-off-by: Aviv Keller <me@aviv.sh> Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
1 parent aef4d8f commit 957fe3f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.husky/pre-commit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# lint and format staged files
2-
pnpm dlx lint-staged
2+
pnpm exec lint-staged
33

4-
# verify typescript staged files
5-
pnpm --package=typescript dlx tsc --build apps/site
4+
# verify typescript fully
5+
pnpm check-types

0 commit comments

Comments
 (0)