From d59fe8cd451fc065018aa6db208ecca7747c3dd4 Mon Sep 17 00:00:00 2001
From: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
Date: Sat, 18 Oct 2025 00:31:49 -0400
Subject: [PATCH 1/2] Add import style
---
.editorconfig | 4 ++++
build.gradle | 1 +
checkstyle.xml | 8 ++++++++
3 files changed, 13 insertions(+)
diff --git a/.editorconfig b/.editorconfig
index 40c77479cfc..f9326ca027e 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -14,6 +14,10 @@ ij_continuation_indent_size = 8
indent_style = tab
max_line_length = off
ij_continuation_indent_size = 8 # IntelliJ default
+# Imports
+ij_java_imports_layout = java.**, |, javax.**, |, *, |, de.hysky.**, |, $*
+ij_java_class_count_to_use_import_on_demand = 999
+ij_java_names_count_to_use_import_on_demand = 999
# Wrapping and Braces
ij_java_keep_simple_blocks_in_one_line = true
ij_java_keep_simple_classes_in_one_line = true
diff --git a/build.gradle b/build.gradle
index 5e16ab84bd6..e5347a30bc2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -263,6 +263,7 @@ test {
spotless {
java {
removeUnusedImports()
+ importOrder('java', 'javax', '', 'de.hysky')
//indentWithTabs() // TODO: turn on when more files are converted to tabs
trimTrailingWhitespace()
endWithNewline()
diff --git a/checkstyle.xml b/checkstyle.xml
index de4bcdbc241..0aaae7080c5 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -28,6 +28,14 @@
+
+
+
+
+
+
+
+
From 595f72eedc8553ab0d127ea808522a70f642c845 Mon Sep 17 00:00:00 2001
From: Kevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>
Date: Sat, 18 Oct 2025 00:33:37 -0400
Subject: [PATCH 2/2] Avoid star imports
---
checkstyle.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/checkstyle.xml b/checkstyle.xml
index 0aaae7080c5..ba063ceabb0 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -24,6 +24,7 @@
+