Skip to content

Commit

Permalink
Add editor configuration for file-scoped namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKeepCoding committed Dec 13, 2024
1 parent 77635ee commit 3785bb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WinUIGallery/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
# IDE0016: Null check can be simplified
csharp_style_throw_expression = true:suggestion

# IDE0161: Convert to file-scoped namespace
csharp_style_namespace_declarations = file_scoped:warning

#
dotnet_style_coalesce_expression = true:suggestion

Expand Down

0 comments on commit 3785bb5

Please sign in to comment.