From a794a5ad7f97eb811f285464edbd7b9d0cea4948 Mon Sep 17 00:00:00 2001 From: xtqqczze Date: Sun, 20 Dec 2020 22:52:35 +0000 Subject: [PATCH] Enable SA1216/SA1217: Using static directives https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1216.md https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1217.md --- .globalconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.globalconfig b/.globalconfig index f0cc41c388e..d894fcb3b71 100644 --- a/.globalconfig +++ b/.globalconfig @@ -1262,10 +1262,10 @@ dotnet_diagnostic.SA1213.severity = none dotnet_diagnostic.SA1214.severity = none # SA1216: Using static directives should be placed at the correct location -dotnet_diagnostic.SA1216.severity = none +dotnet_diagnostic.SA1216.severity = warning # SA1217: Using static directives should be ordered alphabetically -dotnet_diagnostic.SA1217.severity = none +dotnet_diagnostic.SA1217.severity = warning # SA1300: Element should begin with upper-case letter dotnet_diagnostic.SA1300.severity = none