mirror of
https://github.com/hustcer/deepseek-review.git
synced 2026-05-13 05:16:05 +08:00
Initial commit
This commit is contained in:
33
lefthook.yml
Normal file
33
lefthook.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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.8.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}
|
||||
Reference in New Issue
Block a user