Skip to content

Commit

Permalink
husky: bun migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagi-ovo committed Aug 26, 2024
1 parent 5e0ed6a commit 5aa7047
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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 --edit "$1"
bun run commitlint --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"

npx lint-staged
bun run lint-staged
3 changes: 2 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ module.exports = {
'perf',
'revert',
'vercel',
'lint'
'lint',
'husky'
],
],
},
Expand Down

0 comments on commit 5aa7047

Please sign in to comment.