Files
vue-ts-example-2025/.husky/pre-commit
严浩 c490cb1c8e
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 2m39s
CI/CD Pipeline / build-and-deploy (push) Successful in 2m51s
feat: 添加 PrimeVue 组件演示页面
2025-10-28 23:50:40 +08:00

7 lines
265 B
Plaintext

# 此钩子在执行 git commit 命令时,在创建提交之前运行。
echo "🧹 [Pre-commit] 正在运行 lint-staged..."
time pnpm exec lint-staged
time pnpm run lint:vue-i18n-extract
# time pnpm run type-check
echo "🧹 [Pre-commit] lint-staged 完成!"