-
Notifications
You must be signed in to change notification settings - Fork 55
/
checkstyle.xml
34 lines (26 loc) · 981 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<!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="TreeWalker">
<property name="fileExtensions" value="java"/>
<property name="tabWidth" value="1"/>
<!-- Force clean imports (no redundant and unused imports) -->
<module name="RedundantImport"/>
<module name="UnusedImports"/>
<!-- Force tab indentation -->
<module name="RegexpSinglelineJava">
<property name="format" value="^\t* "/>
<property name="message" value="Indent must use tab characters"/>
<property name="ignoreComments" value="true"/>
</module>
<module name="OverloadMethodsDeclarationOrder"/>
<module name="AvoidStarImport"/>
</module>
<module name="TreeWalker">
<property name="fileExtensions" value="xml"/>
<property name="tabWidth" value="1"/>
</module>
</module>