-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle.xml
91 lines (75 loc) · 2.78 KB
/
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="NewlineAtEndOfFile"/>
<module name="TreeWalker">
<module name="AbbreviationAsWordInName">
<property name="tokens" value="CLASS_DEF, VARIABLE_DEF, METHOD_DEF" />
<property name="ignoreStatic" value="true" />
<property name="ignoreFinal" value="false" />
<property name="allowedAbbreviationLength" value="0" />
<property name="allowedAbbreviations" value="XML,URL,URI,UID,ID" />
</module>
<module name="ArrayTypeStyle" />
<module name="AvoidInlineConditionals" />
<module name="AvoidNestedBlocks" />
<module name="AvoidStarImport" />
<module name="BooleanExpressionComplexity" />
<module name="CatchParameterName">
<property name="format" value="^[a-z][a-zA-Z0-9]+$" />
</module>
<module name="ConstantName" />
<module name="DeclarationOrder" />
<module name="DefaultComesLast" />
<module name="EmptyLineSeparator">
<property name="allowMultipleEmptyLinesInsideClassMembers" value="false" />
<property name="allowNoEmptyLineBetweenFields" value="true" />
</module>
<module name="EqualsAvoidNull" />
<module name="EqualsHashCode" />
<module name="FallThrough" />
<module name="FinalClass" />
<module name="FinalLocalVariable" />
<module name="FinalParameters" />
<module name="LeftCurly">
<property name="option" value="nl" />
<property name="tokens" value="CLASS_DEF,INTERFACE_DEF, CTOR_DEF, METHOD_DEF" />
</module>
<module name="LineLength" >
<property name="max" value="180"/>
</module>
<module name="LocalFinalVariableName" />
<module name="LocalVariableName">
<property name="allowOneCharVarInForLoop" value="true" />
</module>
<module name="MemberName" />
<module name="MethodLength" />
<module name="MethodName" />
<module name="MissingDeprecated"/>
<module name="MissingOverride"/>
<module name="MissingSwitchDefault"/>
<module name="ModifiedControlVariable"/>
<module name="ModifierOrder"/>
<module name="MutableException"/>
<module name="NestedForDepth">
<property name="max" value="3"/>
</module>
<module name="NestedIfDepth">
<property name="max" value="3"/>
</module>
<module name="NestedTryDepth"/>
<module name="OneStatementPerLine"/>
<module name="OneTopLevelClass"/>
<module name="OuterTypeFilename"/>
<module name="OverloadMethodsDeclarationOrder"/>
<module name="ParameterName">
<property name="ignoreOverridden" value="true"/>
</module>
<module name="RedundantImport"/>
<module name="RequireThis"/>
<module name="RightCurly"/>
<module name="StaticVariableName"/>
<module name="UnusedImports"/>
</module>
</module>