Skip to content

Commit

Permalink
Editor config tweaks (#11254)
Browse files Browse the repository at this point in the history
Got sick of seeing messages about namespaces not matching folder names,
so thought I'd suppress it. Then Alex mentioned the formatting rule in
standup, and I thought tests deserve the same treatment.
  • Loading branch information
davidwengier authored Nov 26, 2024
2 parents 3787480 + b711851 commit 39b22b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions src/Razor/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[*.cs]

# Fix Formatting
dotnet_diagnostic.IDE0055.severity = warning

# IDE0130: Namespaces should match folder structure
# We don't follow this convention
dotnet_diagnostic.IDE0130.severity = none
4 changes: 1 addition & 3 deletions src/Razor/src/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[*.cs]

# Call ConfigureAwait
dotnet_diagnostic.CA2007.severity = warning
# Fix Formatting
dotnet_diagnostic.IDE0055.severity = warning
dotnet_diagnostic.CA2007.severity = warning

0 comments on commit 39b22b6

Please sign in to comment.