From b9081078252404f13a80dd1cca3e82da77eb11eb Mon Sep 17 00:00:00 2001 From: James Frowen Date: Tue, 31 Mar 2020 17:08:31 +0100 Subject: [PATCH] editor config (#1628) * editor config * Update .editorconfig Co-Authored-By: Paul Pacheco * Update .editorconfig Co-authored-by: Paul Pacheco --- .editorconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.editorconfig b/.editorconfig index 8bfadc544..4a24406c5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -35,6 +35,11 @@ dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent # Modifier preferences dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent dotnet_style_readonly_field = true:suggestion + +# Code-block preferences +csharp_prefer_braces = when_multiline:suggestion +csharp_prefer_simple_using_statement = false:suggestion + # Expression-level preferences dotnet_style_object_initializer = true:suggestion dotnet_style_collection_initializer = true:suggestion