From da42f7d944c94f17d89279f77fafb7a565daa36e Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Tue, 11 Feb 2025 19:27:49 +0000 Subject: [PATCH] Enable SA1000: Spacing around keywords (#2748) --- eng/CodeAnalysis.src.globalconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eng/CodeAnalysis.src.globalconfig b/eng/CodeAnalysis.src.globalconfig index 5ec982ac5..cac174664 100644 --- a/eng/CodeAnalysis.src.globalconfig +++ b/eng/CodeAnalysis.src.globalconfig @@ -1139,8 +1139,7 @@ dotnet_diagnostic.RS2008.severity = warning dotnet_diagnostic.SA0001.severity = none # SA1000: Spacing around keywords -# suggestion until https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/3478 is resolved -dotnet_diagnostic.SA1000.severity = suggestion +dotnet_diagnostic.SA1000.severity = warning # SA1001: Commas should not be preceded by whitespace dotnet_diagnostic.SA1001.severity = warning