From 5519ab3aef9bade4da16e0ae5003d10408aa337f Mon Sep 17 00:00:00 2001 From: Gerald Versluis Date: Mon, 22 Jan 2024 16:50:46 +0100 Subject: [PATCH] Update .editorconfig (#20056) --- .editorconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/.editorconfig b/.editorconfig index 57fa5d295138..ffe025bb40c9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -106,6 +106,7 @@ dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case dotnet_sort_system_directives_first = true csharp_preserve_single_line_blocks = true csharp_preserve_single_line_statements = false +csharp_prefer_braces = true:error # Expression-level preferences dotnet_style_object_initializer = true:suggestion