Skip to content

Commit

Permalink
Reduce verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
meziantou committed Nov 6, 2024
1 parent 824219c commit 178dd38
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/configuration/Analyzers.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ dotnet_style_prefer_foreach_explicit_cast_in_source=when_strongly_typed
dotnet_diagnostic.IDE0005.severity = suggestion

# Use expression body for method
dotnet_diagnostic.IDE0022.severity = suggestion
dotnet_diagnostic.IDE0022.severity = silent

# Remove unreachable code
dotnet_diagnostic.IDE0035.severity = warning

# 'if' statement can be simplified
dotnet_diagnostic.IDE0045.severity = suggestion
dotnet_diagnostic.IDE0045.severity = silent
dotnet_diagnostic.IDE0046.severity = silent

# Remove unused private member
dotnet_diagnostic.IDE0051.severity = warning
Expand All @@ -22,7 +23,7 @@ dotnet_diagnostic.IDE0051.severity = warning
dotnet_diagnostic.IDE0052.severity = warning

# Null check can be simplified
dotnet_diagnostic.IDE0270.severity = suggestion
dotnet_diagnostic.IDE0270.severity = silent

# Remove unnecessary value assignment
dotnet_diagnostic.IDE0059.severity = warning
Expand Down

0 comments on commit 178dd38

Please sign in to comment.