Skip to content

Commit 86cb517

Browse files
Merge pull request #95 from JsDaddy/feat/commit-msg
feat(ref: no-ref): add commit msg to hooks
2 parents 716bae4 + 4d2574d commit 86cb517

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin
2+
3+
set -e
4+
5+
commit_msg=$(cat .git/COMMIT_EDITMSG)
6+
echo "$commit_msg" | npx commitlint

src/libraries

0 commit comments

Comments
 (0)