diff options
Diffstat (limited to 'checkstyle.xml')
-rw-r--r-- | checkstyle.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/checkstyle.xml b/checkstyle.xml index ba8120f..6d56d5d 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -1,5 +1,6 @@ -<?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"> +<?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"> <property name="localeLanguage" value="en"/> <property name="tabWidth" value="4"/> @@ -36,6 +37,7 @@ <property name="illegalPkgs" value="sun, java.awt, javax.swing, javafx"/> </module> <module name="ImportOrder"> + <property name="option" value="bottom"/> <property name="groups" value="/(com.mojang|net.fabricmc|net.minecraft)\..+/,*,/javax?\..+/"/> <property name="separated" value="true"/> <property name="useContainerOrderingForStatic" value="true"/> @@ -43,4 +45,8 @@ <module name="RedundantImport"/> <module name="UnusedImports"/> </module> + + <module name="SuppressionFilter"> + <property name="file" value="${suppressions}"/> + </module> </module> |