Add lefthook target to autofix files
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
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Lukas Eipert