aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig30
-rw-r--r--CONTRIBUTING.md3
2 files changed, 30 insertions, 3 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..28d8209de
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,30 @@
+# top-most EditorConfig file
+root = true
+
+# All Files
+[*]
+# Unix-style newlines with a newline ending every file
+end_of_line = lf
+insert_final_newline = true
+
+# Indent styling
+indent_size = 4
+indent_style = space
+
+# Comments styling to add space after comment start
+ij_any_block_comment_add_space = true
+ij_any_line_comment_add_space = true
+
+# Max line length
+max_line_length = 120
+
+# Java Files
+[*.java]
+# Java files should not use wildcard imports
+ij_java_names_count_to_use_import_on_demand = 999
+ij_java_class_count_to_use_import_on_demand = 999
+
+[*.kt]
+# Kotlin files should not use wildcard imports
+ij_kotlin_name_count_to_use_star_import = 999
+ij_kotlin_name_count_to_use_star_import_for_members = 999
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 997a6c68d..c347f761a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -73,9 +73,6 @@ You can write in the description of the pr the wording for the changelog as well
- Don't forget to add `@FeatureToggle` to new standalone features (not options to that feature) in the config.
- Do not use `e.printStackTrace()`, use `CopyErrorCommand.logError(e, "explanation for users")` instead.
- Do not use `MinecraftForge.EVENT_BUS.post(event)`, use `event.postAndCatch()` instead.
-- Do not use wildcards in imports (see the imgae below for setting this up in IntelliJ)
-- ![image](https://github.com/hannibal002/SkyHanni/assets/24389977/84c3a640-b39a-407e-a73c-12e548f33e88)
-
## Software Used in SkyHanni