[MSHARED-1033] Add resources required for automatic formatting and import sorting#1
Conversation
|
There is also references to IDE formaters on site: Do we need some synchronization for its? File is diferent: |
|
IIRC, I've had to modify some rules in order to comply with checkstyle, but I'll do a diff and get back. |
Yes, I would suggest that the web page should point to the GitHub file once it has been included, but I can raise a different PR for the website later. As for the differences, those are really changes to make sure the automatic formatting complies with the checkstyle rules that are defined in the maven_checks.xml file. This fixes alignment for various use cases to |
|
I've reworked this small commit to include the 3 files from maven-site, with an additional plain header file that should be useful. |
Those are the files directly copied from the maven-site, with the addition of the raw header file
Proposal to incorporate the eclipse xml formatter config into
maven-shared-resourcesso that we can use it with auto-formatting plugins (see apache/maven-resolver#147 and apache/maven#824).This file would become the reference and the site should be updated to reflect that with apache/maven-site#329).