From 8bd584d101d82a9c0aa21353a25ac4556503deb4 Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 24 Jun 2014 20:30:46 +0800 Subject: [PATCH] add editorconfig --- .editorconfig | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..be222b1488 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,38 @@ +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[**.js] +indent_style = space +indent_size = 4 + +[**.css] +indent_style = space +indent_size = 4 + +[**.less] +indent_style = space +indent_size = 4 + +[**.styl] +indent_style = space +indent_size = 4 + +[**.html] +indent_style = space +indent_size = 4 + +[**.tpl] +indent_style = space +indent_size = 4 + +[**.json] +indent_style = space +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false