From a83d21d1b30a88f71d1aef8a21a3e3fd22351007 Mon Sep 17 00:00:00 2001 From: Mathis Hofer Date: Wed, 3 Sep 2014 11:36:56 +0200 Subject: [PATCH] add editor/IDE-agnostic coding styles configuration (see http://editorconfig.org/) --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..c2cdfb8ada --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + + +[*] + +# Change these settings to your own preference +indent_style = space +indent_size = 2 + +# We recommend you to keep these unchanged +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false