From 5d0e59ddd16a3dccd08b8a0084427d12b4fc176d Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 24 May 2016 15:19:48 +0100 Subject: [PATCH] Add editor config to encourage consistent code formatting --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..a50e0cb9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{html,css}] +indent_size = 4