-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcheckstyle.xml
More file actions
54 lines (49 loc) · 1.75 KB
/
checkstyle.xml
File metadata and controls
54 lines (49 loc) · 1.75 KB
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
<?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="FileTabCharacter">
<property name="eachLine" value="true"/>
</module>
<module name="LineLength">
<property name="max" value="120"/>
</module>
<!-- Coding style rules -->
<module name="TreeWalker">
<!-- Naming conventions -->
<module name="ConstantName"/>
<module name="LocalVariableName"/>
<module name="MemberName"/>
<module name="MethodName"/>
<module name="PackageName"/>
<module name="ParameterName"/>
<module name="TypeName"/>
<!-- Imports -->
<module name="UnusedImports"/>
<!-- Formatting -->
<module name="WhitespaceAround"/>
<module name="WhitespaceAfter"/>
<module name="Indentation"/>
<module name="LeftCurly"/>
<module name="RightCurly"/>
<!-- Miscellaneous -->
<module name="VisibilityModifier">
<property name="protectedAllowed" value="true"/>
</module>
<module name="NestedIfDepth">
<property name="max" value="3"/>
</module>
<module name="JavadocMethod">
<property name="accessModifiers" value="public,protected"/>
</module>
<module name="JavadocStyle">
<property name="checkEmptyJavadoc" value="true" />
<property name="scope" value="protected" />
</module>
<module name="JavadocType">
<property name="allowMissingParamTags" value="true" />
<property name="scope" value="protected" />
</module>
</module>
</module>