Skip to content

Commit b28bbf2

Browse files
chore(root): add commitlint as a husky commit-msg hook
2 parents 9bfe963 + d01e1cb commit b28bbf2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.husky/commit-msg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
rootDir=$(pwd)
4+
cd "$rootDir"
5+
6+
yarn check-commits

0 commit comments

Comments
 (0)