fix:添加代码的git提交规范

This commit is contained in:
2026-01-10 21:23:50 +08:00
parent a69a19ca49
commit ca15400d3d
6 changed files with 1084 additions and 1 deletions

3
.husky/commit-msg Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
npx --no-install commitlint --edit "$1"

3
.husky/pre-commit Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env sh
npx lint-staged