Files
xk-admin/lefthook.yml

16 lines
497 B
YAML
Raw 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.
# Git hooks 已关闭(按业务需要临时禁用 pre-commit / commit-msg / post-merge)
# 恢复检查时:把下方 jobs 从历史版本抄回,并执行 pnpm exec lefthook install
# 也可临时用环境变量 LEFTHOOK=0 跳过单次提交
#
# 原配置含:oxlint / oxfmt / eslint / stylelint / checkType / commitlint / post-merge install
# 空配置:lefthook 仍可被 install,但不会跑任何检查
pre-commit:
jobs: []
commit-msg:
commands: {}
post-merge:
commands: {}