add editorconfig

This commit is contained in:
Pan 2017-07-24 17:58:46 +08:00
parent 67e07d2c9d
commit 9d02be94df
1 changed files with 14 additions and 0 deletions

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