From c18c24f752a2d1d67ee07541eb1d9806ddfc8c6d Mon Sep 17 00:00:00 2001 From: Flamarine Elixirium <62203463+Flamarine@users.noreply.github.com> Date: Tue, 3 Oct 2023 18:48:39 +0800 Subject: [PATCH] Add .editorconfig --- .editorconfig | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ccc1595 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +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 + +[*.json] +indent_style = space +indent_size = 2 + +[fabric.mod.json] +indent_style = tab +tab_width = 2 + +[*.properties] +indent_style = space +indent_size = 2