Skip to content

Commit

Permalink
chore: use bun for husky
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Oct 27, 2023
1 parent be0f23f commit b485491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --config commitlint.config.cjs --edit "$1"
bunx commitlint --config commitlint.config.cjs --edit "$1"
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm format && pnpm lint && pnpm build && pnpm test
bun lint && bun run build && bun run test

0 comments on commit b485491

Please sign in to comment.