Explicitly add new BHI1110 rule to config

fixes b5ff65f2c
This commit is contained in:
YoshiRulz 2024-05-31 09:21:36 +10:00
parent 40e7297272
commit 38042293f6
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 3 additions and 0 deletions

View File

@ -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