Add editorconfig

Introduced by #119
This commit is contained in:
Cotes Chung 2020-11-23 22:09:26 +08:00
parent a410600205
commit 43d4036941
1 changed files with 11 additions and 0 deletions

11
.editorconfig Normal file
View File

@ -0,0 +1,11 @@
root = true
[*]
charset = utf-8
# 2 space indentation
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true