add husky

This commit is contained in:
Fine
2022-12-06 22:23:35 +08:00
parent d179fc2a2e
commit 078359bbec
3 changed files with 45 additions and 0 deletions

6
.husky/_/commit-msg Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
# shellcheck source=./_/husky.sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install commitlint --edit "$1"