Skip to content

Commit

Permalink
chore: 🤖 add prepare-commit-msg for commit standarize
Browse files Browse the repository at this point in the history
  • Loading branch information
danangekal committed Mar 23, 2021
1 parent 232ccac commit 8a70955
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
npx lint-staged
4 changes: 4 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && npx git-cz --hook

1 comment on commit 8a70955

@vercel
Copy link

@vercel vercel bot commented on 8a70955 Mar 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.