Skip to content

Commit b485491

Browse files
committed
chore: use bun for husky
1 parent be0f23f commit b485491

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npx --no-install commitlint --config commitlint.config.cjs --edit "$1"
4+
bunx commitlint --config commitlint.config.cjs --edit "$1"

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
pnpm format && pnpm lint && pnpm build && pnpm test
4+
bun lint && bun run build && bun run test

0 commit comments

Comments
 (0)