-
Notifications
You must be signed in to change notification settings - Fork 1
/
checkstyle.xml
74 lines (63 loc) · 2.54 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
<?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">
<!-- Filter out Checkstyle warnings that have been suppressed with the @SuppressWarnings annotation -->
<module name="SuppressWarningsFilter"/>
<module name="FileTabCharacter"/>
<module name="TreeWalker">
<!-- Annotations Checks
https://checkstyle.sourceforge.io/checks/annotation/index.html -->
<module name="MissingDeprecated"/>
<module name="MissingOverride"/>
<!-- Block Checks
https://checkstyle.sourceforge.io/checks/blocks/index.html -->
<module name="EmptyBlock"/>
<module name="NeedBraces"/>
<!-- Class Design Checks
https://checkstyle.sourceforge.io/checks/design/index.html -->
<module name="FinalClass"/>
<module name="HideUtilityClassConstructor"/>
<module name="InterfaceIsType"/>
<module name="OneTopLevelClass"/>
<!-- Coding Checks
https://checkstyle.sourceforge.io/checks/coding/index.html -->
<module name="AvoidNoArgumentSuperConstructorCall"/>
<module name="EmptyStatement"/>
<module name="EqualsHashCode"/>
<module name="IllegalInstantiation"/>
<module name="InnerAssignment"/>
<module name="NoFinalizer"/>
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>
<module name="StringLiteralEquality"/>
<!-- Import Checks
https://checkstyle.sourceforge.io/checks/imports/index.html -->
<module name="AvoidStarImport"/>
<module name="RedundantImport"/>
<module name="UnusedImports">
<property name="processJavadoc" value="true"/>
</module>
<!-- Javadoc Checks
https://checkstyle.sourceforge.io/checks/javadoc/index.html -->
<module name="JavadocTagContinuationIndentation">
<property name="offset" value="2"/>
</module>
<module name="NonEmptyAtclauseDescription"/>
<!-- Miscellaneous Checks
https://checkstyle.sourceforge.io/checks/misc/index.html -->
<module name="ArrayTypeStyle"/>
<module name="UpperEll"/>
<!-- Modifiers Checks
https://checkstyle.sourceforge.io/checks/modifier/index.html -->
<module name="ModifierOrder"/>
<module name="RedundantModifier"/>
<!-- Whitespace Checks
http://checkstyle.sourceforge.net/config_whitespace.html -->
<module name="MethodParamPad"/>
<module name="ParenPad"/>
<!-- Make the @SuppressWarnings annotations available to Checkstyle -->
<module name="SuppressWarningsHolder"/>
</module>
</module>