lefthook.yml in mihari-5.2.4 vs lefthook.yml in mihari-5.3.0
- old
+ new
@@ -1,10 +1,12 @@
pre-commit:
parallel: true
commands:
standard:
glob: "*.rb"
- run: bundle exec standardrb --fix {staged_files} && git add {staged_files}
+ run: bundle exec standardrb --fix {staged_files}
+ stage_fixed: true
eslint:
root: "frontend/"
glob: "*.{js,ts,vue}"
- run: npx eslint --fix {staged_files} && git add {staged_files}
+ run: npx eslint --fix {staged_files}
+ stage_fixed: true