Skip to content

Commit

Permalink
Merge pull request #7 from dennie170/husky
Browse files Browse the repository at this point in the history
chore: implement commitlint to enforce semantic commit messages
  • Loading branch information
unxsist authored Feb 17, 2024
2 parents 2b3d9f6 + e247398 commit ee0088e
Show file tree
Hide file tree
Showing 4 changed files with 3,379 additions and 102 deletions.
2 changes: 2 additions & 0 deletions .commitlintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends:
- "@commitlint/config-conventional"
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit "$1"
Loading

0 comments on commit ee0088e

Please sign in to comment.