We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Its great to have checkstyle for a community project its even better if the build can format the code to the standard.
My suggestion would be to use spotless https://github.com/diffplug/spotless/tree/main/plugin-maven
The text was updated successfully, but these errors were encountered:
Applied this to project and then used checkstyle:check to verify and they are different.
checkstyle:check
<plugin> <groupId>com.diffplug.spotless</groupId> <artifactId>spotless-maven-plugin</artifactId> <version>${spotless.version}</version> <executions> <execution> <goals> <goal>apply</goal> </goals> <phase>compile</phase> </execution> </executions> <configuration> <!-- define a language-specific format --> <java> <importOrder/> <removeUnusedImports/> <googleJavaFormat> <version>1.15.0</version> <style>AOSP</style> </googleJavaFormat> </java> </configuration> </plugin>
Sorry, something went wrong.
related pr #486
No branches or pull requests
Its great to have checkstyle for a community project its even better if the build can format the code to the standard.
My suggestion would be to use spotless
https://github.com/diffplug/spotless/tree/main/plugin-maven
The text was updated successfully, but these errors were encountered: