Replies: 4 comments
-
|
Other interesting libraries and references: https://maven.apache.org/plugins/maven-checkstyle-plugin/index.html |
Beta Was this translation helpful? Give feedback.
-
|
@cjp4 has suggested using checkstyle, configurable via XML, looks good to me. |
Beta Was this translation helpful? Give feedback.
-
|
I was reviewing the diff of checkstyle.xml that @cjp4 uploaded at the "configuration base" commit against the official latest: and seems a bit outdated. I propose to start with the official one and let's tweak the config with our flavor to this project. https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
Beta Was this translation helpful? Give feedback.
-
|
What about sharing an IntelliJ formatting configuration? We all use IntelliJ so we could either use an official guide (such as the Google style guide) or somemone could share their configuration and the others just set it up. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Definition of a linter and a formatter
Not really aware of how it works on the Java world, but for the little I have searched, there are plently of code linters and code formatters for Java code.
From here, I would like to discuss on which linter and formatter to use so that we can ensure that our code follows "some rules", it is structured the same way and it is beatuifully formatted 💅🏼!
How about...?
Beta Was this translation helpful? Give feedback.
All reactions