-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
checkstyle.xml
51 lines (51 loc) · 1.98 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
<!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="TreeWalker">
<module name="SuppressionCommentFilter"/>
<module name="NeedBraces">
<property name="tokens"
value="
LITERAL_DO,
LITERAL_ELSE,
LITERAL_FOR,
LITERAL_IF,
LITERAL_WHILE,
"
/>
</module>
<module name="NeedBraces">
<property name="tokens"
value="
LAMBDA,
"
/>
<property name="allowSingleLineStatement" value="true"/>
</module>
<module name="AvoidStaticImport">
<property name="excludes"
value="
io.restassured.RestAssured.*,
org.assertj.core.api.Assertions.*,
org.assertj.core.api.Assumptions.*,
org.awaitility.Awaitility.*,
org.hamcrest.Matchers.*,
org.hamcrest.MatcherAssert.*,
org.junit.Assert.*,
org.junit.Assume.*,
org.junit.jupiter.api.Assertions.*,
org.mockito.Mockito.*,
org.mockito.ArgumentMatchers.*,
org.mockserver.model.HttpRequest.*,
org.mockserver.model.HttpResponse.*,
org.rnorth.ducttape.unreliables.Unreliables.*,
org.rnorth.visibleassertions.VisibleAssertions.*,
"
/>
</module>
<module name="EmptyLineSeparator">
<property name="allowNoEmptyLineBetweenFields" value="false" />
</module>
<module name="OneStatementPerLineCheck"/>
</module>
</module>