add editorconfig

This commit is contained in:
Pan 2017-07-24 17:58:46 +08:00
parent d6868d7190
commit 96b100d33c

14
.editorconfig Normal file
View file

@ -0,0 +1,14 @@
# http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false