Skip to content

Commit

Permalink
docs: add stage_fixed to the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Feb 13, 2024
1 parent f7f01af commit b66bae5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/complete/lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ pre-commit:
tags: frontend style
glob: "*.js"
run: yarn stylelint {staged_files}
stage_fixed: true
rubocop:
tags: backend style
glob: "*.rb"
exclude: '(^|/)(application|routes)\.rb$'
run: bundle exec rubocop --force-exclusion {all_files}
stage_fixed: true
scripts:
"good_job.js":
runner: node
Expand Down

0 comments on commit b66bae5

Please sign in to comment.