forked from frankframework/frankframework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle.xml
77 lines (70 loc) · 2.92 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
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
<!-- This configuration file was written by the eclipse-cs plugin configuration
editor -->
<!-- Checkstyle-Configuration: Frank!Framework Description: none -->
<module name="Checker">
<module name="SuppressionFilter">
<!-- The property config_loc is automatically set by the eclipse-cs plugin -->
<property name="file" value="${config_loc}/checkstyle-suppressions.xml"/>
</module>
<property name="severity" value="warning" />
<module name="TreeWalker">
<property name="fileExtensions" value="java" />
<property name="severity" value="error" />
<module name="RedundantImport" />
<module name="UnusedImports">
<property name="processJavadoc" value="true" /> <!-- allow imports from javadoc comments -->
</module>
<module name="IllegalImport">
<property name="illegalPkgs" value="junit.framework, org.apache.commons.lang, software.amazon.awssdk.utils" />
<property name="illegalClasses" value="org.apache.commons.codec.Charsets"/>
</module>
</module>
<module name="SuppressionSingleFilter">
<property name="checks" value="UnusedImports"/>
<property name="files" value="StandardLockService.java"/>
</module>
<module name="TreeWalker">
<property name="severity" value="info" />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit" />
<module name="AvoidStarImport">
<property name="allowStaticMemberImports" value="true" />
</module>
<module name="EmptyBlock" />
<module name="ModifierOrder" />
<module name="RedundantModifier">
<property name="tokens" value="ANNOTATION_FIELD_DEF" />
</module>
<module name="LeftCurly">
<property name="tokens" value="CLASS_DEF,CTOR_DEF,INTERFACE_DEF,METHOD_DEF,LITERAL_SWITCH,STATIC_INIT" />
</module>
<module name="EmptyStatement" />
<module name="IllegalInstantiation" />
<module name="UpperEll" />
<module name="PackageAnnotation" />
<module name="ArrayTypeStyle" />
<module name="SuppressWarnings">
<property name="format" value="^all$" />
</module>
</module>
<module name="TreeWalker">
<property name="severity" value="warning" />
<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="RegexpSinglelineJava">
<property name="format" value="\s+$" />
<property name="message" value="Line has trailing spaces." />
<property name="ignoreComments" value="true" />
</module>
<module name="RegexpSinglelineJava">
<property name="id" value="systemout"/>
<property name="format" value="^.*System\.(out|err).*$"/>
<property name="message" value="Don't use System.out/err, use LOG4J2 instead."/>
<property name="ignoreComments" value="true" />
</module>
</module>
</module>