From 0dc3e538ddc50212ab620b8961a55fd1dacd2547 Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Mon, 24 Aug 2020 15:00:52 +0200 Subject: [PATCH] Add editorconfig with 4 spaces in general and 2 spaces in xml This is how it is described in the readme --- .editorconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..3526fee921 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# EditorConfig helps developers define and maintain +# consistent coding styles between different editors and IDEs. + +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 4 + +[*.xml] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false