Skip to content

Commit

Permalink
fix: added husky and commitlint to enforce conventional commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
seekayel committed Nov 26, 2022
1 parent 3b8268a commit 009f272
Show file tree
Hide file tree
Showing 4 changed files with 2,671 additions and 30 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 -- commitlint --edit ${1}
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']}
Loading

0 comments on commit 009f272

Please sign in to comment.