From f73d75dd6aacd5d7449d64cecc18a0ec2b53f49f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 6 Sep 2020 21:01:51 +0530 Subject: [PATCH] editorconfig: init Signed-off-by: Harsh Shandilya --- .editorconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..2dc435e1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +# https://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 + +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{java,kt,kts,xml}] +indent_size = 2 +ij_continuation_indent_size = 2 + +[*.{kt,kts}] +kotlin_imports_layout=ascii +ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL +ij_kotlin_field_annotation_wrap = normal + +[*.md] +trim_trailing_whitespace = false