blob: ba8120ff38678e3dc0f9a5348e3d19c83e3e7971 (
plain)
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
38
39
40
41
42
43
44
45
46
|
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
<module name="Checker">
<property name="localeLanguage" value="en"/>
<property name="tabWidth" value="4"/>
<module name="NewlineAtEndOfFile"/>
<module name="JavadocPackage"/>
<module name="SuppressionSingleFilter">
<property name="checks" value="LeftCurly"/>
<property name="message" value="line.break.after"/>
</module>
<module name="TreeWalker">
<!-- Code format -->
<module name="AnnotationLocation"/>
<module name="LeftCurly"/>
<module name="RightCurly"/>
<module name="GenericWhitespace"/>
<module name="NeedBraces">
<property name="allowSingleLineStatement" value="true"/>
</module>
<module name="RegexpSinglelineJava">
<property name="format" value="^\t* {4,}"/>
<property name="message" value="Indent must use tab characters"/>
<property name="ignoreComments" value="true"/>
</module>
<!-- Imports -->
<module name="AvoidStarImport">
<property name="allowStaticMemberImports" value="true"/>
</module>
<module name="IllegalImport">
<!-- Prevent internal, AWT/Swing and JFX classes -->
<property name="illegalPkgs" value="sun, java.awt, javax.swing, javafx"/>
</module>
<module name="ImportOrder">
<property name="groups" value="/(com.mojang|net.fabricmc|net.minecraft)\..+/,*,/javax?\..+/"/>
<property name="separated" value="true"/>
<property name="useContainerOrderingForStatic" value="true"/>
</module>
<module name="RedundantImport"/>
<module name="UnusedImports"/>
</module>
</module>
|