Replace Checkstyle & Spring Javaformat with Spotless #32
Replies: 4 comments 3 replies
-
Agree we can check it out. Setting current checkstyle in IDE is not trivial indeed. If we can have something faster for set up, I think we should go for it. |
Beta Was this translation helpful? Give feedback.
-
Wouldn't it better to be compatible with what Spring Boot & Spring Cloud are actively using? @maciejwalkowiak |
Beta Was this translation helpful? Give feedback.
-
As far as do not apply changes to most of the current codebase I think it will be ok |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checkstyle significantly raises the bar for external contributors, as build is failing if code does not match Checkstyle constraints but it's not trivial to configure an IDE to conform to Checkstyle rules used in Spring Cloud AWS.
I suggest we switch to alternative - Spotless. Huge Spotless advantage is that in addition to
check
goal it also hasapply
goal that automatically fixes all the style & formatting issues.If you want to try it out I can quickly prepare a PR cc @eddumelendez @MatejNedic
Beta Was this translation helpful? Give feedback.
All reactions