From 21abb44230598bdad1d0be6097e88e7e43dc6dca Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Thu, 21 Apr 2022 07:33:26 +0200 Subject: [PATCH] Add rule to ignore the warning: `Mark members as static` to `.editorconfig` --- .editorconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.editorconfig b/.editorconfig index 83a9726..6f0a5d6 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,3 +2,9 @@ # S4457: Parameter validation in "async"/"await" methods should be wrapped dotnet_diagnostic.S4457.severity = silent + +# CA1822: Mark members as static +dotnet_diagnostic.CA1822.severity = silent + +# S1172: Unused method parameters should be removed +dotnet_diagnostic.S1172.severity = silent