Skip to content

Commit e864f3e

Browse files
Pedro SandersPedro Sanders
authored andcommitted
chore: set commitlint hook
1 parent a075ce8 commit e864f3e

File tree

5 files changed

+539
-406
lines changed

5 files changed

+539
-406
lines changed

.husky/commit-msg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit ""
5+
npx commitlint --edit

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-conventional'] };

0 commit comments

Comments
 (0)