-
Notifications
You must be signed in to change notification settings - Fork 4
/
javadocCheckstyle.xml
100 lines (95 loc) · 3.36 KB
/
javadocCheckstyle.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
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<property name="charset" value="UTF-8"/>
<module name="JavadocPackage">
<property name="severity" value="info"/>
</module>
<module name="TreeWalker">
<property name="tabWidth" value="4"/>
<module name="AnnotationUseStyle" />
<module name="ArrayTypeStyle"/>
<module name="AvoidEscapedUnicodeCharacters"/>
<module name="AvoidStarImport"/>
<module name="AvoidStaticImport"/>
<module name="ClassTypeParameterName"/>
<!-- <module name="CommentsIndentation"/> -->
<module name="ConstantName">
<property name="severity" value="warning"/>
<property name="applyToPrivate" value="false"/>
</module>
<module name="DeclarationOrder"/>
<module name="DefaultComesLast"/>
<module name="EmptyBlock"/>
<module name="EmptyLineSeparator"/>
<module name="EmptyStatement"/>
<module name="GenericWhitespace"/>
<module name="IllegalImport"/>
<module name="Indentation">
<property name="severity" value="warning"/>
<property name="caseIndent" value="0"/>
<property name="throwsIndent" value="8"/>
</module>
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowUndeclaredRTE" value="true"/>
</module>
<module name="JavadocType">
<property name="scope" value="public"/>
</module>
<module name="JavadocVariable">
<property name="scope" value="public"/>
</module>
<module name="LineLength">
<property name="max" value="120"/>
<property name="ignorePattern" value="^ *\* *[^ ]+$"/>
</module>
<module name="MemberName">
<property name="severity" value="warning"/>
</module>
<module name="MethodLength">
<property name="severity" value="warning"/>
<property name="tokens" value="METHOD_DEF"/>
<property name="max" value="60"/>
</module>
<module name="MethodParamPad"/>
<module name="MissingDeprecated"/>
<module name="MissingOverride"/>
<module name="MissingSwitchDefault"/>
<module name="ModifierOrder"/>
<module name="MultipleVariableDeclarations"/>
<module name="NeedBraces"/>
<module name="NoLineWrap"/>
<module name="NoWhitespaceAfter"/>
<module name="NoWhitespaceBefore"/>
<module name="NPathComplexity"/>
<module name="PackageDeclaration"/>
<module name="PackageName"/>
<module name="ParameterName"/>
<module name="RedundantImport"/>
<module name="RedundantModifier"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="StaticVariableName"/>
<module name="StringLiteralEquality"/>
<module name="TodoComment">
<property name="format" value="(TODO)|(FIXME)"/>
<property name="severity" value="info"/>
</module>
<module name="TrailingComment"/>
<module name="TypeName"/>
<module name="UnusedImports"/>
</module>
<module name="FileLength">
<property name="max" value="1500"/>
</module>
<module name="NewlineAtEndOfFile">
<property name="severity" value="warning"/>
</module>
<module name="FileTabCharacter">
<property name="eachLine" value="true"/>
<property name="fileExtensions" value="java"/>
</module>
</module>