diff --git a/.editorconfig b/.editorconfig index 8a5cf43521..a87e5e0651 100644 --- a/.editorconfig +++ b/.editorconfig @@ -77,6 +77,8 @@ csharp_style_expression_bodied_methods = false:suggestion #csharp_style_expression_bodied_operators = false:silent csharp_style_expression_bodied_properties = true:suggestion +csharp_style_namespace_declarations = file_scoped:suggestion + # Pattern matching preferences #csharp_style_pattern_matching_over_as_with_null_check = true:suggestion #csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion