Skip to content

Commit

Permalink
Sort Checkstyle modules
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Dec 27, 2024
1 parent 3065d09 commit bb59de2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/conf/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,27 @@ limitations under the License.
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
<property name="localeLanguage" value="en" />
<module name="NewlineAtEndOfFile" />
<module name="Header">
<property name="headerFile" value="${checkstyle.header.file}" />
</module>
<module name="FileTabCharacter">
<property name="fileExtensions" value="java,xml" />
</module>
<module name="RegexpSingleline">
<property name="format" value="\s+$" />
<property name="message" value="Line has trailing spaces." />
<property name="fileExtensions" value="java" />
<module name="Header">
<property name="headerFile" value="${checkstyle.header.file}" />
</module>
<property name="localeLanguage" value="en" />
<module name="LineLength">
<property name="max" value="160"/>
</module>
<module name="NewlineAtEndOfFile" />
<module name="RegexpSingleline">
<property name="format" value="^\s+\*\s+@author\s" />
<property name="message" value="Deprecated @author tag" />
<property name="fileExtensions" value="java" />
<property name="severity" value="warning" />
</module>
<module name="LineLength">
<property name="max" value="160"/>
<module name="RegexpSingleline">
<property name="format" value="\s+$" />
<property name="message" value="Line has trailing spaces." />
<property name="fileExtensions" value="java" />
</module>
<module name="TreeWalker">
<module name="AvoidStarImport" />
Expand Down

0 comments on commit bb59de2

Please sign in to comment.