fix: 更新 lint-staged 配置,支持 .tsx 文件格式
Some checks failed
/ build-and-deploy-to-vercel (push) Successful in 2m47s
/ lint-build-and-check (push) Successful in 4m36s
/ surge (push) Successful in 2m44s
/ playwright (push) Failing after 11m36s

This commit is contained in:
严浩
2025-04-03 15:26:27 +08:00
parent 5a69629f35
commit ecd82d30a4
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
echo "🔧 正在运行 pre-commit 钩子..."
pnpm -v
pnpm exec lint-staged
echo "✅ pnpm 已安装,正在执行 lint-staged..."
# if command -v pnpm >/dev/null 2>&1; then