From 63934899b718db8ea0992930befca689f7820113 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Thu, 20 Jun 2019 09:24:41 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=9B=B4=E6=94=B9=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 5 +++-- .gitattributes | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 982d1d6e..6cfb4760 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,13 +10,14 @@ indent_style = space [*.{cs,csx,vb,vbx}] indent_size = 4 insert_final_newline = true +trim_trailing_whitespace = true charset = utf-8-bom +[*.{json,yml,xml}] +indent_size = 2 ############################### # .NET Coding Conventions # ############################### [*.{cs,vb}] -# Unix-style newlines with a newline ending every file -end_of_line = lf # Organize usings dotnet_sort_system_directives_first = false # this. preferences diff --git a/.gitattributes b/.gitattributes index 316eaeef..a1e1e97a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11,7 +11,6 @@ # Note: This is only used by command line ############################################################################### #*.cs diff=csharp -*.sln text eof=crlf ############################################################################### # Set the merge driver for project and solution files