forked from opentripplanner/OpenTripPlanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckstyle.xml
More file actions
26 lines (25 loc) · 1.03 KB
/
checkstyle.xml
File metadata and controls
26 lines (25 loc) · 1.03 KB
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
<?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">
<module name="Checker">
<module name="TreeWalker">
<module name="ArrayTypeStyle"/>
<module name="AvoidStarImport"/>
<module name="ConstantName">
<!--Exceptions: underscore followed by lowercase SI unit and a number followed by lowercase x.-->
<property name="format" value="^[A-Z][A-Z0-9]*(?:_(?:[A-Za-z]+[0-9]+x?|[0-9]+x?|[A-Za-z]+))*$"/>
</module>
<module name="DefaultComesLast"/>
<module name="EmptyStatement"/>
<module name="NeedBraces"/>
<module name="RedundantImport"/>
<module name="SimplifyBooleanReturn"/>
<module name="StringLiteralEquality"/>
<module name="TrailingComment">
<property name="format" value="^\s*$"/>
</module>
<module name="UnusedImports"/>
<module name="UnusedLocalVariable"/>
</module>
</module>