From 3102fa6e59da2b3c9c52a0e1e3ce3f1882e62908 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sun, 1 Mar 2020 15:42:07 +0100 Subject: [PATCH] Add .editorconfig --- .editorconfig | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..5faa4f7d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,37 @@ +# EditorConfig helps maintain consistent coding styles +# for multiple developers working on the same project +# across various editors and IDEs. +# +# http://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 +max_line_length=72 + +[ChangeLog] +trim_trailing_whitespace = false + +[*.txt] +trim_trailing_whitespace = false + +[*.md] +trim_trailing_whitespace = false + +# Domain-Specific Properties +[*.h] +curly_bracket_next_line = true +spaces_around_operators = true +indent_brace_style = Allman + +[*.cpp] +curly_bracket_next_line = true +spaces_around_operators = true +indent_brace_style = Allman +