feat: 优化代码提交流程 添加lint-staged

This commit is contained in:
alger
2025-09-14 00:21:07 +08:00
parent d8734f8302
commit 8f9c989815
3 changed files with 23 additions and 4 deletions

View File

@@ -1,2 +1,7 @@
echo "对已暂存文件运行 lint-staged..."
npx lint-staged
echo "运行类型检查..."
npm run typecheck
npm run typecheck
echo "所有检查通过,准备提交..."