Skip to content

Commit 311f07d

Browse files
Added format rule for CheckStyle
1 parent 3d58e99 commit 311f07d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

checkstyle.xml

+12
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,16 @@
88
<!-- Report on each line in each file -->
99
<property name="eachLine" value="true"/>
1010
</module>
11+
12+
<module name="TreeWalker">
13+
<!-- Checks that the indentation style in this project is uniformly "2 spaces". -->
14+
<module name="Indentation">
15+
<property name="basicOffset" value="2"/>
16+
<property name="braceAdjustment" value="0"/>
17+
<property name="caseIndent" value="2"/>
18+
<property name="throwsIndent" value="4"/>
19+
<property name="lineWrappingIndentation" value="4"/>
20+
<property name="arrayInitIndent" value="2"/>
21+
</module>
22+
</module>
1123
</module>

0 commit comments

Comments
 (0)