add editorconfig

This commit is contained in:
Kevin Yue 2021-12-20 18:31:56 +08:00
parent 0e4e082594
commit ba92517141
No known key found for this signature in database
GPG Key ID: 4D3A6EE977B15AC4

16
.editorconfig Normal file
View File

@ -0,0 +1,16 @@
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = false
trim_trailing_whitespace=true
indent_style = space
indent_size = 4
[{VERSION,VERSION_SUFFIX}]
insert_final_newline = false
[*.sh]
indent_style = tab