-
Notifications
You must be signed in to change notification settings - Fork 536
/
checkstyle.xml
44 lines (33 loc) · 1.21 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
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<property name="charset" value="UTF-8" />
<property name="tabWidth" value="4" />
<module name="LineLength">
<property name="max" value="120"/>
<property name="fileExtensions" value="java"/>
</module>
<module name="TreeWalker">
<module name="ParameterNumber">
<property name="max" value="10"/>
</module>
<module name="NestedIfDepth">
<property name="max" value="3"/>
</module>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<module name="MethodName"/>
<module name="PackageName"/>
<module name="NeedBraces"/>
<module name="LeftCurly">
<property name="option" value="nl"/>
</module>
</module>
<module name="RegexpMultiline">
<property name="format" value="\r?\n[ \t\x0B\f]*\r?\n[ \t\x0B\f]*\r?\n"/>
<property name="fileExtensions" value="java"/>
<property name="message" value="Two consecutive empty lines"/>
</module>
</module>