From b66bae5204a12972e3861fdd14bd8dfd747ff650 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Tue, 13 Feb 2024 11:23:46 +0300 Subject: [PATCH] docs: add stage_fixed to the examples --- examples/complete/lefthook.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/complete/lefthook.yml b/examples/complete/lefthook.yml index 25a5804e..5ea64fb1 100644 --- a/examples/complete/lefthook.yml +++ b/examples/complete/lefthook.yml @@ -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