feat: add .editorconfig (#5691)

This commit is contained in:
Shyam Chen 2017-05-29 00:29:22 -05:00 committed by Evan You
parent e6de9a5de2
commit 0cc0b0726d
1 changed files with 15 additions and 0 deletions

15
.editorconfig Normal file
View File

@ -0,0 +1,15 @@
# 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