chore: 关闭 lefthook git 提交检查

This commit is contained in:
李琦
2026-10-19 16:22:50 +08:00
parent 98eb751392
commit ec5578d4e4

View File

@@ -1,10 +1,9 @@
# Git hooks 已关闭(按业务需要临时禁用 pre-commit / commit-msg / post-merge) # Git hooks disabled (pre-commit / commit-msg / post-merge).
# 恢复检查时:把下方 jobs 从历史版本抄回,并执行 pnpm exec lefthook install # To restore: restore jobs from git history, then run: pnpm exec lefthook install
# 也可临时用环境变量 LEFTHOOK=0 跳过单次提交 # One-off skip: LEFTHOOK=0
# #
# 原配置含:oxlint / oxfmt / eslint / stylelint / checkType / commitlint / post-merge install # Previously: oxlint / oxfmt / eslint / stylelint / checkType / commitlint / post-merge install
# 空配置:lefthook 仍可被 install,但不会跑任何检查
pre-commit: pre-commit:
jobs: [] jobs: []