Description
Discussed on
- https://lists.apache.org/thread/ok9qdl1w92f9fhdkz3tmc5f65ytpppqp
- https://lists.apache.org/thread/md6do2dllt9cv4s311y3ky6245xmvd0w
The proposal is to
- add spotless with palantir formatter (120 column, 4 spaces indent) + pom formatter (2 spaces indent + pom ordering)
- disable checkstyle rules enforced by the formatter
- enable formatter check (code style validation) by default
- provide a format profile (activated with the format property) to apply formatting rules automatically
Attachments
Issue Links
- breaks
-
MNGSITE-500 Update "Code Style And Code Conventions" page with automatic spotless formatting
-
- Closed
-
- depends upon
-
MSHARED-1155 New checkstyle rules configuration to use with spotless
-
- Closed
-
- is a parent of
-
MNG-7601 Upgrade Apache Maven parent POM to version 38
-
- Closed
-
- is related to
-
MPOM-372 Automatically format source files during Eclipse incremental build
-
- Open
-
-
MPOM-374 Autoformat *.groovy files
-
- Open
-
-
MPOM-375 Add license header automatically to all files
-
- Open
-
-
MPOM-370 Document "format" profile
-
- Closed
-
-
MPOM-373 Execute spotless before rat
-
- Closed
-
- links to