aboutsummaryrefslogtreecommitdiff
path: root/checkstyle.xml
diff options
context:
space:
mode:
authorJuuz <6596629+Juuxel@users.noreply.github.com>2023-05-14 16:25:01 +0300
committerJuuz <6596629+Juuxel@users.noreply.github.com>2023-05-14 16:25:01 +0300
commiteb69ae5b01680e58d7d6af1375e0c1c1bb591c24 (patch)
treebfbc234a25b08d81d0cd62e5ba6625bfa8569e57 /checkstyle.xml
parent9d35da107eaa44daa1ea5345082125ac656f6c97 (diff)
downloadLibGui-eb69ae5b01680e58d7d6af1375e0c1c1bb591c24.tar.gz
LibGui-eb69ae5b01680e58d7d6af1375e0c1c1bb591c24.tar.bz2
LibGui-eb69ae5b01680e58d7d6af1375e0c1c1bb591c24.zip
Apply checkstyle to every Gradle project
Diffstat (limited to 'checkstyle.xml')
-rw-r--r--checkstyle.xml10
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>