Files
2026-08-21 16:00:13 +08:00

6 lines
355 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 前端提交前检查(frontend/CLAUDE.md:lint 与 type-check 必须同时通过方可提交)。
# git 在仓库根(父目录)执行 hook,故先进入前端目录:
# - lint-staged 仅对暂存文件跑 eslint/prettier(非前端文件自动跳过)
# - type-check 整体校验类型
cd frontend && pnpm lint-staged && pnpm type-check