-
Notifications
You must be signed in to change notification settings - Fork 961
/
checkstyle.xml
37 lines (32 loc) · 1.47 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
<?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">
<!-- Suppressions -->
<module name="SuppressionFilter">
<property name="file" value="${config_loc}/checkstyle-suppressions.xml"/>
</module>
<!-- TreeWalker Checks -->
<module name="TreeWalker">
<!-- Imports -->
<module name="IllegalImportCheck" >
<property name="illegalPkgs" value="com.google.common.(?!cache).*,org.apache.commons.text.*,org.slf4j.*"/>
<property name="illegalClasses" value="org\.assertj\.core\.api\.Java6Assertions\..*"/>
<property name="regexp" value="true"/>
</module>
<module name="UnusedImports">
<property name="processJavadoc" value="true" />
</module>
<!-- Regexp -->
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck">
<property name="format" value="^ *\t+ *\S" />
<property name="message"
value="Line has leading tab characters; indentation should be performed with spaces only." />
<property name="ignoreComments" value="true" />
</module>
<!-- Whitespace -->
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck" />
<module name="SuppressionCommentFilter"/>
</module>
</module>