forked from Swofty-Developments/HypixelSkyBlock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkstyle.xml
24 lines (23 loc) · 889 Bytes
/
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
<?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">
<module name="TreeWalker">
<!--Checks for method braces style-->
<module name = "LeftCurly">
<property name="tokens" value="METHOD_DEF"/>
<property name="option" value="nl"/>
</module>
<!-- Prevent variables starting with underscore -->
<module name="PatternVariableName">
<property name="format" value="^[^_].*"/>
</module>
<module name="AnnotationUseStyle"/>
<!-- Make sure class declaration compliance -->
<module name = "LeftCurly">
<property name="tokens" value="CLASS_DEF"/>
<property name="option" value="nl"/>
</module>
</module>
</module>