-
Notifications
You must be signed in to change notification settings - Fork 3
/
checkstyle.xml
37 lines (34 loc) · 1.7 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" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="JavadocPackage"/>
<module name="TreeWalker">
<!-- https://github.com/checkstyle/checkstyle/issues/7275#issuecomment-557212138 -->
<!-- Remove `cache` field from TreeWalker in Checkstyle 8.0. Author: rnveach #2883 -->
<!-- https://checkstyle.org/releasenotes.html#Release_8.19 -->
<!-- https://github.com/checkstyle/checkstyle/issues/2883 -->
<!-- <property name="cacheFile" value="${checkstyle.cache.file}"/> -->
<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
<module name="JavadocMethod"/>
<module name="JavadocType"/>
<module name="JavadocVariable"/>
<module name="JavadocStyle"/>
<module name="GenericWhitespace"/>
<!-- Checks for Size Violations. -->
<!-- See http://checkstyle.sf.net/config_sizes.html -->
</module>
<module name="LineLength">
<!-- Configuring the check to accept lines up to 160 characters long -->
<property name="max" value="160"/>
<!--
Ignore Javadoc comments since references to other elements (@see
tag, etc.) may get rather long and should not be truncated.
source: http://www.smartics.eu/config-smartics-checkstyle/checkstyle-documentation.html
-->
<property name="ignorePattern" value="^\s*\*\s*[^\s]+.+$"/>
</module>
<module name="FileTabCharacter">
<property name="eachLine" value="true"/>
</module>
</module>