Hi,
We never had any formalised code formatting rules nor ever provided any 
formatters for different IDEs (at least not that I am aware of).
That often leads to undesired formatting changes in PRs.
I propose to introduce 
https://github.com/diffplug/spotless/tree/main/plugin-maven to automatically 
enforce certain formatting rules during build (as well as to optionally apply 
those).

There are quite some built-in rule sets.
Apache Maven uses 
https://github.com/diffplug/spotless/tree/main/plugin-maven#palantir-java-format
 and https://github.com/diffplug/spotless/tree/main/plugin-maven#maven-pom 
quite successfully for a while now.

I am open to using another rule set, but the important bit is that we can 
enforce that across different IDEs easily during the build and fixing is easy 
for contributors/committers as well.

WDYT?

Konrad

Reply via email to