Skip to main content
  1. Open Source/


Global checkstyle config to be reused in different projects. These include my own personal rules so your milage may vary.
Apache License 2.0
Table of Contents

Common Checkstyle Config #


Externalized checkstyle configuration which can be used in other Maven projects.

Description #

This is a hand-picked, incrementally improved checkstyle configuration. It is more on the liberal side as I believe tools should work for the user not the other way around. Code style is subjective and this one might not be for you.

Usage #

Add this maven project as dependency to load the external checkstyle configuration. The name of the config xml is checkstyle.xml.

            <!-- checkstyle -->
                    <!-- add this lib as dependency to load external checkstyle config -->

See this post for more info.

IDE Integration #

IntelliJ #

If you are using the checkstyle plugin for IntelliJ (which you should). You will find a copy of the configuration in the /target folder called checkstyle-checker.xml.

License #

Copyright 2019 Patrick Favre-Bulle

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Patrick Favre
Patrick Favre
Software Engineer currently working as architect, backend dev, cloud engineer, IT ops rookie. Cryptography and security are my passions.