core: 添加 .editorconfig

This commit is contained in:
bin456789 2023-12-04 22:20:52 +08:00
parent ce396271d6
commit a0302d407c
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

18
.editorconfig Normal file
View File

@ -0,0 +1,18 @@
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[windows.xml]
end_of_line = crlf
[*.{bat,cmd,ps1}]
end_of_line = crlf
[*.{yml,yaml}]
indent_size = 2