From fdbde9eb87a0df91905f427aacb86f3092124ecb Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Wed, 13 Aug 2014 10:23:17 +0400 Subject: [PATCH] add .editorconfig to fix indentation issues --- .editorconfig | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..d99d62129 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Tab indentation (no size specified) +[*.js] +indent_style = tab + +# 2 space indentation +[{.,}*.y{a,}ml] +indent_style = space +indent_size = 2 + +# Indentation override for Gruntfile +[Gruntfile.js] +indent_style = space +indent_size = 4