Skip to content

Commit

Permalink
chore: added commitlint for conventional commit linting (#5133)
Browse files Browse the repository at this point in the history
* chore: add commitlint for conventional commits
* fix: fix commit-msg executable
  • Loading branch information
bdbch authored May 11, 2024
1 parent edceec4 commit e992e70
Show file tree
Hide file tree
Showing 4 changed files with 1,153 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env sh
npx --no -- commitlint --edit "$1"
1 change: 1 addition & 0 deletions commitlint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ['@commitlint/config-conventional'] }
Loading

0 comments on commit e992e70

Please sign in to comment.