Add .editorconfig

This commit is contained in:
Benjamin Tan
2013-12-21 21:15:12 +08:00
parent b20b8af5a6
commit 4e1415faf2

17
.editorconfig Normal file
View File

@@ -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