com.puppycrawl.tools.checkstyle.meta.checks.whitespace.FileTabCharacterCheck.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <checkstyle-metadata> <module> <check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck" name="FileTabCharacter" parent="com.puppycrawl.tools.checkstyle.Checker"> <description><p> Checks that there are no tab characters ({@code '\t'}) in the source code. </p> <p> Rationale: </p> <ul> <li> Developers should not need to configure the tab width of their text editors in order to be able to read source code. </li> <li> From the Apache jakarta coding standards: In a distributed development environment, when the commit messages get sent to a mailing list, they are almost impossible to read if you use tabs. </li> </ul></description> <properties> <property default-value="false" name="eachLine" type="boolean"> <description>Control whether to report on each line containing a tab, or just the first instance.</description> </property> <property default-value="" name="fileExtensions" type="java.lang.String[]"> <description>Specify file type extension of files to process.</description> </property> </properties> <message-keys> <message-key key="containsTab"/> <message-key key="file.containsTab"/> </message-keys> </check> </module> </checkstyle-metadata>