Code style examples from top java development companies

I decided to collect code style examples from the well-known company in the java community. There are both direct links to setting up the checkstyle and examples of setting the IDE.
Found an error or would you like to add one more company? Add in the comments!

Google

Of course first in our list and base checkstyle rules for many companies.

https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/checkstyle.xml

Apache

Apache has ready to use checkstyle rules.

https://github.com/apache/commons-collections/blob/master/src/conf/checkstyle.xml

Mediawiki

Mediawiki  published it’s checkstyle rules.

https://www.mediawiki.org/wiki/Coding_conventions/Java/checkstyle.xml

Twiter

Twiter also use checkstyle to check code style.

https://github.com/twitter/commons/tree/master/src/java/com/twitter/common/checkstyle

Square

Square has code style configuration for IntelliJ IDEA with sh/bat files to install.

https://github.com/square/java-code-styles

Netflix

Netflix store configuration for checkstyle and findbugs plugins individually on each project in codequality folder.

For example Spectator has configs for checkstyle and findbugs plugins.

https://github.com/Netflix/spectator/tree/master/codequality

Eureka project has only checkstyle rules.

https://github.com/Netflix/eureka/blob/master/codequality/checkstyle.xml

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.