From 178dd383b1adf25d49dc42729aee8d303583a11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rald=20Barr=C3=A9?= Date: Tue, 5 Nov 2024 21:15:23 -0500 Subject: [PATCH] Reduce verbosity --- src/configuration/Analyzers.editorconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/configuration/Analyzers.editorconfig b/src/configuration/Analyzers.editorconfig index 41607bc..7d00763 100644 --- a/src/configuration/Analyzers.editorconfig +++ b/src/configuration/Analyzers.editorconfig @@ -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 @@ -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