tj-actions/eslint-changed-files

How to automatically fix errors?

keironlowe-edriving opened this issue · 1 comments

In the README, it lists "Fix ESlint errors" as one of the features but I doesn't provide any details on how to enable this. I've tried adding --fix as extra_args but it didn't work.

Thank you

@jackton1 Thanks, looking at your PR I see I was correct in using --fix as the extra_args, the thing I seemed to have been missing is the step to commit the changes with something like EndBug/add-and-commit@v9

I might be worth updating the documentation to explain this :)