2019-04-23 06:00:30 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE module PUBLIC
|
|
|
|
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
|
|
|
|
"https://checkstyle.org/dtds/configuration_1_3.dtd">
|
|
|
|
|
|
|
|
<module name="Checker">
|
|
|
|
<!-- See http://checkstyle.sourceforge.net/config_misc.html#NewlineAtEndOfFile -->
|
2019-04-23 13:22:20 +02:00
|
|
|
<module name="NewlineAtEndOfFile">
|
|
|
|
<property name="lineSeparator" value="lf_cr_crlf"/>
|
|
|
|
</module>
|
2019-04-23 06:00:30 +02:00
|
|
|
|
|
|
|
<!-- See http://checkstyle.sourceforge.net/config_whitespace.html -->
|
|
|
|
<module name="FileTabCharacter"/>
|
|
|
|
|
|
|
|
<!-- See http://checkstyle.sourceforge.net/config_misc.html -->
|
|
|
|
<module name="RegexpSingleline">
|
2020-01-05 01:25:19 +01:00
|
|
|
<property name="format" value="\s+$"/>
|
|
|
|
<property name="minimum" value="0"/>
|
|
|
|
<property name="maximum" value="0"/>
|
|
|
|
<property name="message" value="Line has trailing spaces."/>
|
2019-04-23 06:00:30 +02:00
|
|
|
</module>
|
|
|
|
|
2021-01-31 00:08:41 +01:00
|
|
|
<!-- See http://checkstyle.sourceforge.net/config_filters.html -->
|
|
|
|
<module name="SuppressionSingleFilter">
|
|
|
|
<property name="checks" value="UnusedImports"/>
|
2021-02-08 11:08:44 +01:00
|
|
|
<property name="files" value=".*[/\\]net[/\\]minecraft[/\\]server[/\\].*"/>
|
2021-01-31 00:08:41 +01:00
|
|
|
</module>
|
|
|
|
|
2019-04-23 06:00:30 +02:00
|
|
|
<module name="TreeWalker">
|
2021-01-31 00:08:41 +01:00
|
|
|
<!-- See https://checkstyle.org/config_javadoc.html -->
|
|
|
|
<module name="AtclauseOrder"/>
|
|
|
|
<module name="InvalidJavadocPosition"/>
|
|
|
|
<module name="JavadocBlockTagLocation"/>
|
|
|
|
<module name="JavadocContentLocationCheck"/>
|
|
|
|
<!--<module name="JavadocMethod"/>-->
|
|
|
|
<module name="JavadocType"/>
|
|
|
|
<module name="MissingJavadocPackage"/>
|
|
|
|
<!--<module name="NonEmptyAtclauseDescription"/>-->
|
|
|
|
|
2019-04-23 06:54:36 +02:00
|
|
|
<!-- See http://checkstyle.sourceforge.net/config_filters.html -->
|
|
|
|
<module name="SuppressionCommentFilter"/>
|
2021-01-31 00:08:41 +01:00
|
|
|
<module name="SuppressionCommentFilter">
|
|
|
|
<property name="offCommentFormat" value="CraftBukkit start"/>
|
|
|
|
<property name="onCommentFormat" value="CraftBukkit end"/>
|
|
|
|
</module>
|
|
|
|
<module name="SuppressWithNearbyCommentFilter">
|
|
|
|
<property name="commentFormat" value="CraftBukkit"/>
|
|
|
|
</module>
|
2019-04-23 06:54:36 +02:00
|
|
|
|
|
|
|
<!-- See http://checkstyle.sourceforge.net/config_imports.html -->
|
|
|
|
<module name="AvoidStarImport">
|
|
|
|
<property name="allowStaticMemberImports" value="true"/>
|
|
|
|
</module>
|
2021-01-31 00:08:41 +01:00
|
|
|
<module name="ImportOrder">
|
2019-04-23 06:54:36 +02:00
|
|
|
<property name="option" value="above"/>
|
|
|
|
<property name="ordered" value="true"/>
|
|
|
|
<property name="separatedStaticGroups" value="true"/>
|
|
|
|
<property name="sortStaticImportsAlphabetically" value="true"/>
|
2021-01-31 00:08:41 +01:00
|
|
|
</module>
|
2019-04-23 06:00:30 +02:00
|
|
|
<module name="RedundantImport"/>
|
2021-03-15 23:00:00 +01:00
|
|
|
<!--<module name="UnusedImports"/>-->
|
2021-01-31 00:08:41 +01:00
|
|
|
|
|
|
|
<!-- See https://checkstyle.org/config_whitespace.html -->
|
|
|
|
<module name="GenericWhitespace"/>
|
|
|
|
<module name="MethodParamPad"/>
|
|
|
|
<module name="NoLineWrap"/>
|
|
|
|
<module name="NoWhitespaceAfter"/>
|
|
|
|
<module name="NoWhitespaceBefore">
|
|
|
|
<property name="allowLineBreaks" value="true"/>
|
|
|
|
</module>
|
|
|
|
<module name="OperatorWrap"/>
|
|
|
|
<module name="ParenPad"/>
|
|
|
|
<module name="SingleSpaceSeparator"/>
|
|
|
|
<module name="TypecastParenPad"/>
|
|
|
|
<module name="WhitespaceAfter"/>
|
|
|
|
<module name="WhitespaceAround">
|
|
|
|
<property name="allowEmptyCatches" value="true"/>
|
|
|
|
<property name="allowEmptyConstructors" value="true"/>
|
|
|
|
<property name="allowEmptyMethods" value="true"/>
|
|
|
|
<property name="allowEmptyTypes" value="true"/>
|
|
|
|
</module>
|
2019-04-23 06:00:30 +02:00
|
|
|
|
|
|
|
<!-- See http://checkstyle.sourceforge.net/config_modifiers.html -->
|
|
|
|
<module name="ModifierOrder"/>
|
|
|
|
|
2021-01-31 00:08:41 +01:00
|
|
|
<!-- See https://checkstyle.org/config_blocks.html -->
|
|
|
|
<!--<module name="AvoidNestedBlocks"/>-->
|
|
|
|
<module name="LeftCurly"/>
|
|
|
|
<module name="RightCurly"/>
|
|
|
|
|
2019-04-23 06:00:30 +02:00
|
|
|
<!-- See http://checkstyle.sourceforge.net/config_design.html -->
|
|
|
|
<!--<module name="FinalClass"/>-->
|
|
|
|
<!--<module name="InterfaceIsType"/>-->
|
|
|
|
|
|
|
|
<!-- See http://checkstyle.sourceforge.net/config_misc.html -->
|
|
|
|
<module name="ArrayTypeStyle"/>
|
|
|
|
<module name="UpperEll"/>
|
|
|
|
</module>
|
|
|
|
</module>
|