Skip to content

Commit

Permalink
ci: husky & commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Balet committed Mar 13, 2024
1 parent 04d79a8 commit f6de56c
Show file tree
Hide file tree
Showing 4 changed files with 918 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
}
Loading

0 comments on commit f6de56c

Please sign in to comment.