add .editorconfig

This commit is contained in:
bwcx_jzy 2021-07-22 20:16:51 +08:00
parent 0bf59347b4
commit 7c650ddfe7

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
# http://editorconfig.org
root = true
[*]
indent_style = tab
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*.{json,yml}]
indent_style = space
indent_size = 2
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
[*.bat]
end_of_line = crlf