Skip to content

Commit

Permalink
Merge pull request #102 from koliveira15/feature/conventional-commits
Browse files Browse the repository at this point in the history
feat: commitlint prehook
  • Loading branch information
koliveira15 committed Mar 23, 2024
2 parents 102c335 + 755e793 commit 71ef90d
Show file tree
Hide file tree
Showing 4 changed files with 1,065 additions and 2 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
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 71ef90d

Please sign in to comment.