From bfa31df813924c9763959a74cabf76b99f27d6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Sat, 14 Feb 2015 17:07:56 +0100 Subject: [PATCH] add editorconfig --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..030d82329 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 2 + +[{Gemfile,Rakefile,Guardfile,Procfile}] +trim_trailing_whitespace = true + +[*.{js,hbs,rb,rake,ru,erb,haml,scss,sh,md}] +trim_trailing_whitespace = true + +[*.yml] +trim_trailing_whitespace = false