Skip to content

Commit

Permalink
chore: update husky installation
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Nov 9, 2024
1 parent e7ed985 commit bb209a0
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint --edit $1
pnpm exec commitlint --edit $1
5 changes: 1 addition & 4 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm install

pnpm install --frozen-lockfile
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm run lint
2 changes: 0 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm run types:check && pnpm test
2 changes: 1 addition & 1 deletion utils/scripts/prepare
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh -e
is-ci || husky install
is-ci || husky

0 comments on commit bb209a0

Please sign in to comment.