-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcheckstyle-suppressions.xml
25 lines (21 loc) · 1.24 KB
/
checkstyle-suppressions.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
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<!-- Don't check files in resources -->
<suppress files="[/\\]src[/\\]test[/\\]resources[/\\].*" checks=".*"/>
<!-- Differentiation for method names between source files and unit tests -->
<suppress files="[/\\]src[/\\]test[/\\].*" id="methodNameStandard" />
<suppress files="[/\\]src[/\\]main[/\\].*" id="methodNameUnitTests" />
<!-- Exceptions for the implementations of LoggerInterface -->
<suppress files="[/\\]com[/\\]github[/\\]maximevw[/\\]autolog[/\\]core[/\\]logger[/\\]adapters[/\\].*"
checks="FinalClass" />
<!-- Exceptions for test files -->
<suppress files="[/\\]src[/\\]test[/\\].*" checks="MagicNumber" />
<suppress files="[/\\]src[/\\]test[/\\].*" checks="MultipleStringLiterals" />
<suppress files="[/\\]src[/\\]test[/\\].*" checks="MethodLength" />
<suppress files="LogTestingClass.java" checks="ParameterName" />
<suppress files="JaxRsApiTestClass.java" checks="MissingJavadocMethod" />
<suppress files="SpringWebApiTestClass.java" checks="MissingJavadocMethod" />
</suppressions>