added editorconfig to maintain consistent coding styles.

more infos https://editorconfig.org/
This commit is contained in:
anjia0532 2018-12-09 14:38:03 +08:00
parent 11fc6729e5
commit f5c1b78f16

16
.editorconfig Normal file
View File

@ -0,0 +1,16 @@
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[{package.json,.travis.yml}]
indent_size = 2