From be957ebda1b1a820584d10d362c7c08af5e988a1 Mon Sep 17 00:00:00 2001 From: elachlan <2433737+elachlan@users.noreply.github.com> Date: Tue, 11 Jan 2022 08:15:14 +1000 Subject: [PATCH] Enable warning on SA1125 --- eng/Common.globalconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Common.globalconfig b/eng/Common.globalconfig index fd878420d57..c9987f27988 100644 --- a/eng/Common.globalconfig +++ b/eng/Common.globalconfig @@ -820,7 +820,7 @@ dotnet_diagnostic.SA1123.severity = suggestion dotnet_diagnostic.SA1124.severity = none # Use shorthand for nullable types -dotnet_diagnostic.SA1125.severity = suggestion +dotnet_diagnostic.SA1125.severity = warning # Generic type constraints should be on their own line dotnet_diagnostic.SA1127.severity = suggestion