Code Style check
Does Repairnator follow a code style?
Would be necessary to automatically check the style before merging?
It did, but bot anymore.
Since Repairnator is a repair tool, my dream is to activate a style repair directly (à la Styler or Restyled), without going through the old-school check-only step.
Since Repairnator is a repair tool, my dream is to activate a style repair directly (à la Styler or Restyled), without going through the old-school check-only step.
Perfect.
How about implementing the spotless plugin for maven?
I would be happy to help you implement this and move forward with its integration if you want.
We can do this by a simple GitHub Action.
Thanks for the proposal. Could you elaborate on what spotless would do?
Spotless will do code style just like checkstyle during maven build, using spotless:check.
What it can also achieve is that apply the necessary changes in code style for it to be compliant to using spotless:apply
Could we have spotless:apply as part of CI? (for instance as an automated PR)
We can extend the functionality using GitHub Actions to automate any validations check if there are any!