mirror of
https://github.com/hustcer/deepseek-review.git
synced 2026-05-13 05:16:05 +08:00
34 lines
939 B
YAML
34 lines
939 B
YAML
# EXAMPLE USAGE
|
|
# Refer for explanation to following link:
|
|
# https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
|
|
#
|
|
# pre-push:
|
|
# commands:
|
|
# packages-audit:
|
|
# tags: frontend security
|
|
# run: yarn audit
|
|
# gems-audit:
|
|
# tags: backend security
|
|
# run: bundle audit
|
|
#
|
|
min_version: 1.10.0
|
|
no_tty: false
|
|
skip_output:
|
|
- meta # Skips lefthook version printing
|
|
- skips # Skips "skip" printing (i.e. no files matched)
|
|
- summary # Skips summary block (successful and failed steps) printing
|
|
- success # Skips successful steps printing
|
|
- failure # Skips failed steps printing
|
|
- execution_info # Skips printing `EXECUTE > ...` logging
|
|
|
|
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
spell-check:
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
stage_fixed: true
|
|
glob: "*.*"
|
|
run: cspell --no-progress {staged_files}
|