ci(commitlint): add commitlint in project

This commit is contained in:
落小梅
2021-10-12 09:32:11 +08:00
parent e99e34dd65
commit 424807b2b3
4 changed files with 559 additions and 48 deletions

4
.husky/commit-msg Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
pnpx --no-install commitlint --edit $1