From 5b9f9047a02f96daf5215bfd4d1cd376ef4186c3 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Wed, 9 Apr 2014 15:45:08 +0200 Subject: Add .editorconfig Use EditorConfig to define a some basic styling rules for code. This should also help to reduce the number of commits introducing trailing whitespace. See http://editorconfig.org/ for details. --- .editorconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .editorconfig (limited to '.editorconfig') diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..9c562bd1f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{markdown,md}] +trim_trailing_whitespace = false -- cgit v1.2.3