build: husky + lint-staged + commitlint

This commit is contained in:
Burt
2023-12-21 16:40:43 +08:00
parent f23eed45bb
commit e9602040a5
5 changed files with 903 additions and 9 deletions

4
.husky/commit-msg Executable file
View File

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