-
Notifications
You must be signed in to change notification settings - Fork 294
/
checkstyle.xml
25 lines (25 loc) · 1.33 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
<?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">
<property name="charset" value="UTF-8" />
<property name="severity" value="warning" />
<property name="fileExtensions" value="java, properties, xml" />
<module name="TreeWalker">
<module name="JavadocMethod">
<property name="accessModifiers" value="public" />
<property name="tokens" value="METHOD_DEF,ANNOTATION_FIELD_DEF"/>
<property name="severity" value="error"/>
<property name="allowedAnnotations" value="Override,Test,ParameterizedTest,BeforeEach,AfterEach,BeforeAll,AfterAll"/>
</module>
<module name="MissingJavadocMethod">
<property name="scope" value="public" />
<property name="allowMissingPropertyJavadoc" value="true"/>
<property name="minLineCount" value="4" />
<property name="tokens" value="METHOD_DEF,ANNOTATION_FIELD_DEF"/>
<property name="severity" value="error"/>
<property name="allowedAnnotations" value="Override,Test,ParameterizedTest,BeforeEach,AfterEach,BeforeAll,AfterAll"/>
</module>
<module name="ModifierOrder"/>
<module name="NeedBracesCheck"/>
</module>
</module>