Skip to content

Commit

Permalink
Merge pull request #46 from rohitkumbhar/structured-commits
Browse files Browse the repository at this point in the history
chore: adds pre-comit hooks to test for commit message format
  • Loading branch information
rohitkumbhar authored Feb 3, 2025
2 parents 68f0b52 + d0b4945 commit ab314b0
Show file tree
Hide file tree
Showing 5 changed files with 1,022 additions and 14 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm test
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ['@commitlint/config-conventional'] };
Loading

0 comments on commit ab314b0

Please sign in to comment.