diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..c11a5c19c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,27 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.java] +indent_style = tab +indent_size = 4 +tab_width = 4 + +[*.{gradle,properties,toml,cfg,prefs}] +indent_style = tab +indent_size = 4 +tab_width = 4 + +[*.{json,mcmeta,yml,yaml}] +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false + +[{Makefile,*.bat}] +indent_style = tab