From 9d775abdf49cb576d5f2914e81216bdfe0cda3ba Mon Sep 17 00:00:00 2001 From: Richard Murillo Date: Thu, 26 Sep 2024 11:12:14 -0700 Subject: [PATCH] Add configuration to enable CA1063 as warning Resolves #60 --- .../Build/Config/General.globalconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/EffectiveCSharp.Analyzers/Build/Config/General.globalconfig b/src/EffectiveCSharp.Analyzers/Build/Config/General.globalconfig index 79251181..4d259397 100644 --- a/src/EffectiveCSharp.Analyzers/Build/Config/General.globalconfig +++ b/src/EffectiveCSharp.Analyzers/Build/Config/General.globalconfig @@ -40,3 +40,10 @@ dotnet_diagnostic.CA1061.severity = warning # # Effective C# Item #12 - Prefer member initializers to assignment statements dotnet_diagnostic.CA1805.severity = warning + +# Title: : Implement the standard Dispose pattern +# Category : Design +# Help Link: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1063 +# +# Effective C# Item #17 - Implement the standard Dispose pattern +dotnet_diagnostic.CA1063.severity = warning \ No newline at end of file