Localization Support

Checkstyle supports localization of the output messages. If your language is not supported, please consider translating the messages in the file. Please let us know if you translate the file.

Enable External DTD load

The property checkstyle.enableExternalDtdLoad defines ability use custom DTD files in config and load them from some location. The property type is boolean and defaults to false.

Property chaining support

Checkstyle supports property expansion within property definitions, also known as property chaining. This feature allows you to define properties using other properties. For example:

You can then use ${checkstyle.suppressions.file} in your checkstyle configuration, which will resolve to /home/user/checkstyle/configs/suppressions.xml.


Note that property variable expression must be of the form ${expression}.

It is not necessary to define chained properties sequentially.