From 894a296d69d89f0fbb9bc6b693653e618160ce0d Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Sun, 8 May 2022 19:55:19 +0400 Subject: [PATCH] Update .editorconfig to suggest file-scoped namespaces #1202 --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 42464af65a..532ce6f3e1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -25,6 +25,9 @@ csharp_indent_case_contents_when_block = true csharp_indent_switch_labels = true csharp_indent_labels = one_less_than_current +# File-scoped namespaces +csharp_style_namespace_declarations=file_scoped:suggestion + # Modifier preferences csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion