From 4cc9d94933aa9fdce6f69c609211dd72a81548ba Mon Sep 17 00:00:00 2001 From: Muhammad Rehan Saeed Date: Wed, 4 Oct 2023 15:22:14 +0100 Subject: [PATCH] Update .editorconfig --- .editorconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.editorconfig b/.editorconfig index 53735d65..5bd59069 100644 --- a/.editorconfig +++ b/.editorconfig @@ -16,6 +16,7 @@ root = true charset = utf-8 indent_style = space indent_size = 4 +tab_width = 4 insert_final_newline = true trim_trailing_whitespace = true @@ -211,6 +212,10 @@ csharp_style_var_for_built_in_types = true csharp_style_var_when_type_is_apparent = true csharp_style_var_elsewhere = true +# Undocumented +# https://github.com/dotnet/docs/issues/28791 +csharp_style_prefer_primary_constructors = true # NEW + ########################################## # .NET Coding Conventions - .NET # https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/dotnet-formatting-options