-
Notifications
You must be signed in to change notification settings - Fork 1
/
jutility-checkstyle.xml
101 lines (85 loc) · 3.4 KB
/
jutility-checkstyle.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="FileTabCharacter"/>
<module name="NewlineAtEndOfFile"/>
<module name="RegexpSingleline">
<property name="format" value="\s+$"/>
<property name="maximum" value="0"/>
<property name="message" value="Line has trailing spaces."/>
<property name="minimum" value="0"/>
</module>
<module name="RegexpMultiline">
<property name="format" value="[^\n]+\n{4,}"/>
<property name="message" value="Three or more consecutive empty lines."/>
</module>
<module name="TreeWalker">
<module name="ArrayTypeStyle"/>
<module name="AvoidStarImport"/>
<module name="ConstantName"/>
<module name="EmptyBlock">
<property name="option" value="text"/>
</module>
<module name="EmptyForIteratorPad"/>
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="FinalClass"/>
<module name="GenericWhitespace"/>
<module name="IllegalImport"/>
<module name="IllegalInstantiation"/>
<module name="LeftCurly"/>
<module name="LocalFinalVariableName"/>
<module name="LocalVariableName"/>
<module name="MemberName"/>
<module name="MethodName"/>
<module name="MethodParamPad"/>
<module name="MissingSwitchDefault"/>
<module name="ModifierOrder"/>
<module name="NeedBraces"/>
<module name="NoWhitespaceAfter">
<property name="tokens" value="BNOT, DOT, LNOT, UNARY_MINUS, UNARY_PLUS"/>
</module>
<module name="NoWhitespaceBefore">
<property name="tokens" value="SEMI"/>
</module>
<module name="OperatorWrap">
<property name="option" value="NL"/>
</module>
<module name="PackageName"/>
<module name="ParameterName"/>
<module name="ParenPad"/>
<module name="RedundantImport"/>
<!--module name="RedundantThrows">
<property name="suppressLoadErrors" value="true"/>
</module-->
<module name="RightCurly">
<property name="option" value="alone"/>
</module>
<module name="SeparatorWrap">
<property name="option" value="NL"/>
<property name="tokens" value="DOT"/>
</module>
<module name="SeparatorWrap">
<property name="option" value="EOL"/>
<property name="tokens" value="COMMA"/>
</module>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="StaticVariableName"/>
<module name="SuppressionCommentFilter"/>
<module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CHECKSTYLE\:OFF ([\w\|]+)"/>
<property name="onCommentFormat" value="CHECKSTYLE\:ON ([\w\|]+)"/>
<property name="checkFormat" value="$1"/>
</module>
<module name="TypecastParenPad"/>
<module name="TypeName"/>
<module name="UnusedImports"/>
<module name="UpperEll"/>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround">
<property name="ignoreEnhancedForColon" value="false"/>
</module>
</module>
</module>