From 70c0cd2f5c04bf9ed79bc0fa969cceb4bc336121 Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Fri, 8 Jan 2016 09:35:10 +0100 Subject: [PATCH] Add .editorconfig --- .editorconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c466c23 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +# EditorConfig is awesome: http://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +charset = utf-8 +indent_style = tab +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{md}] +trim_trailing_whitespace = false + +# Matches the exact files either package.json or .travis.yml +[{package.json}] +indent_style = space +indent_size = 2