build: 添加commitlint及相关配置

添加commitlint工具用于规范提交信息格式,包括husky钩子、commitlint配置文件和依赖包
This commit is contained in:
feige996
2025-06-03 18:57:52 +08:00
parent c5a1b1cd9c
commit 0fbe59fe92
5 changed files with 562 additions and 2 deletions

1
.husky/commit-msg Normal file
View File

@@ -0,0 +1 @@
npx --no-install commitlint --edit "$1"