Skip to content

Commit

Permalink
.editorconfig: Warn if file-scoped namespace can be used
Browse files Browse the repository at this point in the history
  • Loading branch information
kiminuo committed Jan 7, 2022
1 parent 33a123a commit 88d98d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Expand Up @@ -104,6 +104,7 @@ csharp_prefer_simple_default_expression = true:error

csharp_indent_case_contents = true:warning
csharp_indent_switch_labels = true:warning
csharp_style_namespace_declarations = file_scoped:warning

# prefer 'is null' for reference equality checks
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:error
Expand Down

0 comments on commit 88d98d7

Please sign in to comment.