From 33a791c9f37d8468463ec12cf8e4275a8bffefa7 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Sun, 22 Dec 2024 17:18:23 -0600 Subject: [PATCH] chore(editorconfig): Silence CA1515 everywhere Previously only silenced only in tests, it is needed globally now since the warning isn't smart enough to detect DI/runtime usages, which results in many false positives when tests utilizing DI reference those types. --- .editorconfig | 3 +++ tests/.editorconfig | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 4b895a8f..02b830a3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -42,3 +42,6 @@ dotnet_diagnostic.CA2007.severity = none # Implement standard exception constructors dotnet_diagnostic.CA1032.severity = none + +# Consider making public types internal +dotnet_diagnostic.CA1515.severity = none diff --git a/tests/.editorconfig b/tests/.editorconfig index d88ebe96..6323e421 100644 --- a/tests/.editorconfig +++ b/tests/.editorconfig @@ -5,6 +5,3 @@ dotnet_diagnostic.ca1707.severity = none # Avoid constant arrays as arguments dotnet_diagnostic.ca1861.severity = none - -# Consider making public types internal -dotnet_diagnostic.CA1515.severity = none