From 671d7802fe62e4bfc3fad9ba0430b8bd12724085 Mon Sep 17 00:00:00 2001 From: Yuriy Date: Sun, 27 Oct 2019 00:19:01 -0500 Subject: [PATCH] Fix greedy .editorconfig styling --- .editorconfig | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.editorconfig b/.editorconfig index 89a55563..f868ca92 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,11 +3,8 @@ root = true [*] indent_style = space indent_size = 4 -insert_final_newline = true -trim_trailing_whitespace = true -end_of_line = crlf -[*.csproj] +[*.{csproj,projitems}] indent_size = 2 [*.{markdown,md}] @@ -26,18 +23,11 @@ indent_size = 2 indent_size = 2 # C# files -[*.cs] - -#### Core EditorConfig Options #### - -# Indentation and spacing -indent_size = 4 -indent_style = space -tab_width = 4 -# New line preferences +[*.cs] +insert_final_newline = true +trim_trailing_whitespace = true end_of_line = crlf -insert_final_newline = false #### .NET Coding Conventions ####