From 38042293f67b80e9de856460899520425d84e9c0 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Fri, 31 May 2024 09:21:36 +1000 Subject: [PATCH] Explicitly add new BHI1110 rule to config fixes b5ff65f2c --- .global.editorconfig.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.global.editorconfig.ini b/.global.editorconfig.ini index 644864e0f7..6872186a44 100644 --- a/.global.editorconfig.ini +++ b/.global.editorconfig.ini @@ -22,6 +22,9 @@ dotnet_diagnostic.BHI1101.severity = error dotnet_diagnostic.BHI1102.severity = error # Don't call typeof(T).ToString(), use nameof operator or typeof(T).FullName dotnet_diagnostic.BHI1103.severity = error +# Brackets of collection expression should be separated with spaces +dotnet_diagnostic.BHI1110.severity = warning + # Check result of IDictionary.TryGetValue, or discard it if default(T) is desired dotnet_diagnostic.BHI1200.severity = error # Call to FirstOrDefault when elements are of a value type; FirstOrNull may have been intended