From 751e3ccdcbe148b29e2a32070cc24624ff910807 Mon Sep 17 00:00:00 2001 From: Nik Date: Tue, 1 Aug 2023 16:21:29 -0700 Subject: [PATCH 1/2] Add .editorconfig for consistent style and imports --- .editorconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..17fa79534 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.java] +ij_java_names_count_to_use_import_on_demand = 5 +ij_java_class_count_to_use_import_on_demand = 5 From baa82c6be8ca618d1ac26085b7a5f4fa766791db Mon Sep 17 00:00:00 2001 From: Nik Date: Thu, 3 Aug 2023 19:36:09 -0700 Subject: [PATCH 2/2] Increase indent size to 4 --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 17fa79534..8352a57f4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,7 +2,7 @@ root = true [*] indent_style = space -indent_size = 2 +indent_size = 4 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true