- 优化,重新设定 .editorconfig 规则

This commit is contained in:
cherishsince 2020-05-08 11:05:11 +08:00
parent 43935d3e1e
commit a3cbccecd6
1 changed files with 3 additions and 8 deletions

View File

@ -1,15 +1,10 @@
root=true root=true
# TODO 不是所有文件都是 UTF-8 格式(会影响二进制文件) [*.{adoc,bat,groovy,html,java,js,jsp,kt,kts,md,properties,py,rb,sh,sql,svg,txt,xml,xsd}]
[*]
charset = utf-8 charset = utf-8
[*.java] [*.{groovy,java,kt,kts,xml,xsd}]
indent_style = space indent_style = space
indent_size = 4 indent_size = 4
continuation_indent_size = 8 continuation_indent_size = 8
end_of_line = lf
[*.xml]
indent_style = space
indent_size = 4
continuation_indent_size = 4