aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2023-10-21 07:36:12 +0100
committerGitHub <noreply@github.com>2023-10-21 08:36:12 +0200
commit244903403ab2a2fc5a9eaa2ccc48f06cd6a824b8 (patch)
treedeee9a51aac076108f4ca3a2f4fb37b769277348 /.editorconfig
parent68abc8ade546de62aee76e0b786993fc59fbc3cc (diff)
downloadSkyHanni-244903403ab2a2fc5a9eaa2ccc48f06cd6a824b8.tar.gz
SkyHanni-244903403ab2a2fc5a9eaa2ccc48f06cd6a824b8.tar.bz2
SkyHanni-244903403ab2a2fc5a9eaa2ccc48f06cd6a824b8.zip
Internal Change: Add .editorconfig (#556)
Internal Change: Add .editorconfig #556
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig30
1 files changed, 30 insertions, 0 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