From 4e1415faf2ff73a617cff184593e1148a515e13a Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Sat, 21 Dec 2013 21:15:12 +0800 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..38ceac3b2 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[**.{js,json,md}] +indent_style = space +indent_size = 2 + +[**.html] +indent_style = tab