dev-manager-tauri/lefthook.yml
lanrtop bdb43a2abf chore(hooks): 引入 lefthook——pre-commit typecheck + commit-msg 规范校验
参考 enterprise-system git 体系,补齐炼境本地 git hooks:
- pre-commit: pnpm typecheck(tsc --noEmit)
- commit-msg: Conventional Commits 格式强校验
2026-06-29 17:17:45 +09:00

12 lines
186 B
YAML

pre-commit:
parallel: true
commands:
typecheck:
glob: "src/**/*.{ts,tsx}"
run: pnpm typecheck
commit-msg:
scripts:
"check-conventional.sh":
runner: bash