We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e4038e commit 7bcac7dCopy full SHA for 7bcac7d
.editorconfig
@@ -152,6 +152,10 @@ csharp_style_var_for_built_in_types = true
152
csharp_style_var_when_type_is_apparent = true # IDE0007 and IDE0008
153
csharp_style_var_elsewhere = true # IDE0007 and IDE0008
154
155
+# Namespace declaration preferences
156
+# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0160-ide0161?view=vs-2022
157
+csharp_style_namespace_declarations = file_scoped # IDE0160 and IDE0161
158
+
159
# Expression-bodied members
160
# https://docs.microsoft.com/visualstudio/ide/editorconfig-language-conventions#expression-bodied-members
161
csharp_style_expression_bodied_constructors = when_on_single_line # IDE0021
0 commit comments