forked from strategicblue/parquet-floor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle.xml
92 lines (91 loc) · 3.35 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
92
<?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">
<module name="SuppressWarningsFilter" />
<module name="LineLength">
<property name="max" value="160" />
</module>
<module name="TreeWalker">
<module name="SuppressWarningsHolder" />
<module name="Indentation">
<property name="basicOffset" value="4" />
<property name="caseIndent" value="0" />
</module>
<module name="MethodParamPad" />
<module name="NoWhitespaceAfter" />
<module name="NoWhitespaceBefore" />
<module name="ParenPad" />
<module name="TypecastParenPad">
<property name="option" value="nospace" />
</module>
<module name="WhitespaceAfter">
<property name="tokens" value="COMMA, SEMI" /> <!-- not typecasts -->
</module>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true" />
<property name="allowEmptyMethods" value="true" />
<property name="allowEmptyTypes" value="true" />
<property name="allowEmptyLoops" value="true" />
</module>
<module name="ModifierOrder" />
<module name="RedundantModifier" />
<module name="EmptyBlock">
<property name="option" value="text" />
</module>
<module name="LeftCurly">
</module>
<module name="RightCurly" />
<module name="AvoidNestedBlocks">
<property name="allowInSwitchCase" value="true" />
</module>
<module name="EmptyStatement" />
<module name="UpperEll" />
<module name="ArrayTypeStyle" />
<module name="PackageName">
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$" />
</module>
<module name="TypeName" />
<module name="ConstantName">
<property name="format" value="^([A-Z][A-Z0-9]*(_[A-Z0-9]+)*|log)$" />
</module>
<module name="MemberName" />
<module name="LocalFinalVariableName" />
<module name="LocalVariableName" />
<module name="ParameterName" />
<module name="StaticVariableName" />
<module name="UnnecessaryParentheses" />
<module name="PackageDeclaration" />
<module name="AvoidStarImport" />
<module name="IllegalImport" />
<module name="RedundantImport" />
<module name="UnusedImports" />
<module name="CovariantEquals" />
<module name="EqualsHashCode" />
<module name="InnerAssignment" />
<module name="MissingSwitchDefault" />
<module name="ModifiedControlVariable" />
<module name="SimplifyBooleanExpression" />
<module name="SimplifyBooleanReturn" />
<module name="StringLiteralEquality" />
<module name="SuperClone" />
<module name="SuperFinalize" />
<module name="IllegalThrows" />
<module name="ExplicitInitialization" />
<module name="DefaultComesLast" />
<module name="FallThrough" />
<module name="MultipleVariableDeclarations" />
<module name="FinalClass" />
<module name="HideUtilityClassConstructor" />
<module name="MutableException" />
<module name="UncommentedMain">
<property name="excludedClasses" value="org\.wikidata\.query\.rdf\.tool\..*" />
</module>
</module>
<module name="NewlineAtEndOfFile" />
<module name="RegexpSingleline">
<property name="format" value="\s+$" />
<property name="message" value="Line has trailing spaces." />
</module>
</module>