chore: add commitlint

This commit is contained in:
Mo
2022-06-13 12:23:58 -05:00
parent aa9a7fbf31
commit eabe092d62
4 changed files with 10 additions and 11 deletions

4
.husky/commit-msg Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
yarn commitlint --edit $1

2
.husky/pre-commit Executable file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"