From 8905b2b3787367b2331493b1803b290d7ce24779 Mon Sep 17 00:00:00 2001 From: Flamarine Elixirium <62203463+Flamarine@users.noreply.github.com> Date: Tue, 3 Oct 2023 18:47:57 +0800 Subject: [PATCH] Add .editorconfig --- .editorconfig | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7934c49 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,33 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +tab_width = 4 +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.gradle] +indent_style = tab + +[*.java] +indent_style = tab + +[*.kt] +indent_style = tab +indent_size = 4 + +[*.json] +indent_style = space +indent_size = 2 + +[fabric.mod.json] +indent_style = tab +tab_width = 2 + +[*.properties] +indent_style = space +indent_size = 2