Skip to content

Commit 894a296

Browse files
Update .editorconfig to suggest file-scoped namespaces #1202
1 parent 1713f50 commit 894a296

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ csharp_indent_case_contents_when_block = true
2525
csharp_indent_switch_labels = true
2626
csharp_indent_labels = one_less_than_current
2727

28+
# File-scoped namespaces
29+
csharp_style_namespace_declarations=file_scoped:suggestion
30+
2831
# Modifier preferences
2932
csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:suggestion
3033

0 commit comments

Comments
 (0)