feat: 添加 husky 预提交和预推送钩子,运行类型检查以确保代码质量

This commit is contained in:
alger
2025-05-23 20:07:29 +08:00
parent ad7b504eef
commit a449b74ef2
3 changed files with 10 additions and 2 deletions

2
.husky/pre-commit Normal file
View File

@@ -0,0 +1,2 @@
echo "运行类型检查..."
npm run typecheck