From a4441ffeb4b87948e984bc74ee91e65f5d2e066e Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Tue, 22 Dec 2020 11:19:53 +0000 Subject: [PATCH] Enable SA1216/SA1217: Using static directives (#14471) 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 7c713c0c50..3d325b2649 100644 --- a/.globalconfig +++ b/.globalconfig @@ -1262,10 +1262,10 @@ dotnet_diagnostic.SA1213.severity = warning 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