Skip to content

Add lefthook target to autofix files

Lukas 'ai-pi' Eipert requested to merge leipert-lefthook-auto-fix into master

What does this MR do and why?

A custom lefthook target to run all the linters with with auto-fix capabilities, but just on the files which changed in your branch.

# If installed globally
lefthook run auto-fix
# Or if installed via ruby gem
bundle exec lefthook run auto-fix

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. Change any JSON, ruby or Vue file in odd ways.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Lukas 'ai-pi' Eipert

Merge request reports