From 2d2e621058aa9a3ccda3ce3c14499e2fc96e6662 Mon Sep 17 00:00:00 2001 From: Brayden Date: Wed, 24 Feb 2016 19:33:17 -0800 Subject: [PATCH] Add EditorConfig Details at http://editorconfig.org/. --- .editorconfig | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..ca3c67bb02 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,32 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +trim_trailing_whitespace = true + +[*.{c,cpp,h}] +indent_style = space +insert_final_newline = true +max_line_length = 100 + +[{CMakeLists.txt,*.cmake}] +indent_style = tab + +[.editorconfig] +insert_final_newline = true + +[*.gradle] +indent_size = 4 +indent_style = space +insert_final_newline = false + +[*.java] +indent_style = tab +insert_final_newline = true + +[*.xml] +indent_size = 4 +indent_style = space +insert_final_newline = true