-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle.xml
104 lines (102 loc) · 4.51 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
93
94
95
96
97
98
99
100
101
102
103
104
<?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">
<property name="charset" value="UTF-8" />
<property name="fileExtensions" value="java, properties, xml" />
<module name="FileTabCharacter">
<property name="eachLine" value="true" />
</module>
<module name="LineLength" />
<module name="NewlineAtEndOfFile">
<property name="lineSeparator" value="lf" />
</module>
<module name="TreeWalker">
<module name="AnnotationLocation">
<property name="allowSamelineSingleParameterlessAnnotation" value="false" />
</module>
<module name="AtclauseOrder" />
<module name="CatchParameterName" />
<module name="ClassTypeParameterName" />
<module name="CommentsIndentation" />
<module name="DefaultComesLast" />
<module name="EmptyBlock">
<property name="option" value="TEXT" />
<property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH" />
</module>
<module name="EmptyCatchBlock" />
<module name="EmptyLineSeparator">
<property name="allowMultipleEmptyLines" value="false" />
<property name="allowMultipleEmptyLinesInsideClassMembers" value="false" />
<property name="tokens" value="PACKAGE_DEF, IMPORT, STATIC_IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF" />
</module>
<module name="EmptyStatement" />
<module name="EqualsHashCode" />
<module name="FallThrough" />
<module name="GenericWhitespace" />
<module name="IllegalImport" />
<module name="Indentation" />
<module name="InterfaceTypeParameterName" />
<module name="InvalidJavadocPosition" />
<module name="JavadocContentLocationCheck" />
<module name="JavadocMethod" />
<module name="JavadocParagraph">
<property name="allowNewlineParagraph" value="false"/>
</module>
<module name="JavadocTagContinuationIndentation" />
<module name="JavadocType" />
<module name="LambdaParameterName" />
<module name="LeftCurly" />
<module name="LocalVariableName" />
<module name="MemberName" />
<module name="MethodName" />
<module name="MethodParamPad" />
<module name="MethodTypeParameterName" />
<module name="MissingJavadocMethod" />
<module name="MissingJavadocPackage" />
<module name="MissingJavadocType" />
<module name="MissingSwitchDefault" />
<module name="ModifierOrder" />
<module name="MultipleVariableDeclarations" />
<module name="NeedBraces" />
<module name="NoFinalizer" />
<module name="NoLineWrap" />
<module name="NonEmptyAtclauseDescription" />
<module name="OneStatementPerLine" />
<module name="OneTopLevelClass" />
<module name="OperatorWrap">
<property name="option" value="eol" />
</module>
<module name="OuterTypeFilename" />
<module name="OverloadMethodsDeclarationOrder" />
<module name="PackageName" />
<module name="ParameterName" />
<module name="ParenPad" />
<module name="RedundantModifier" />
<module name="Regexp">
<property name="format" value="[ \t]+$" />
<property name="illegalPattern" value="true" />
<property name="message" value="Trailing whitespace" />
</module>
<module name="RequireThis" />
<module name="RightCurly" />
<module name="SeparatorWrap">
<property name="tokens" value="COMMA" />
<property name="option" value="eol" />
</module>
<module name="SeparatorWrap">
<property name="tokens" value="DOT" />
<property name="option" value="nl" />
</module>
<module name="SimplifyBooleanExpression" />
<module name="SimplifyBooleanReturn" />
<module name="SummaryJavadocCheck" />
<module name="TodoComment">
<property name="format" value="(TODO)|(FIXME)" />
<message key="todo.match" value="Resolve unexpected comment." />
</module>
<module name="TypeName" />
<module name="UpperEll" />
<module name="VariableDeclarationUsageDistance" />
<module name="WhitespaceAround" />
</module>
</module>