From a3cbccecd69b363cc2299fcdff64ae9b64fb1ef6 Mon Sep 17 00:00:00 2001 From: cherishsince Date: Fri, 8 May 2020 11:05:11 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BC=98=E5=8C=96=EF=BC=8C=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E8=AE=BE=E5=AE=9A=20.editorconfig=20=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index 4febab2f1..abd071783 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,15 +1,10 @@ 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 -[*.java] +[*.{groovy,java,kt,kts,xml,xsd}] indent_style = space indent_size = 4 continuation_indent_size = 8 - -[*.xml] -indent_style = space -indent_size = 4 -continuation_indent_size = 4 +end_of_line = lf