From 85d62f7e5e3d29ca503aa53a45dc1867852355cd Mon Sep 17 00:00:00 2001 From: Pavel Penev Date: Tue, 17 Oct 2023 14:25:24 +0300 Subject: [PATCH] Extended indentation rules to more file types This reflects OpenRA ModSDK PR 189. --- .editorconfig | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.editorconfig b/.editorconfig index eacc64333d..e8d162a238 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,15 +9,11 @@ insert_final_newline = true trim_trailing_whitespace = true ; 4-column tab indentation -[*.yaml] -indent_style = tab -indent_size = 4 - -; 4-column tab indentation and .NET coding conventions -[*.cs] +[*.{cs,csproj,yaml,lua,sh,ps1}] indent_style = tab indent_size = 4 +; .NET coding conventions #### Code Style Rules #### https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/