From 3c2e04c50b23fdee192cde3c6ccb16510bbf12b4 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 11 Mar 2014 03:59:30 -0400 Subject: [PATCH] Add EditorConfig to enforce spacing Will automatically use the correct indenting and trim line endings on supported IDEs. --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..2dc8a89c3 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +root = true + +[*] +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = spaces +indent_size = 2 + +[*.md] +trim_trailing_whitespace = true