add editorconfig

This commit is contained in:
Yuan Chiu 2018-07-25 15:59:39 +08:00
parent 72c7737919
commit af2d907ce2

16
.editorconfig Normal file
View File

@ -0,0 +1,16 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.yml]
indent_style = space
indent_size = 2