Replace Meziantou.Analyzers rule with first-party .NET rule

This commit is contained in:
YoshiRulz 2024-09-07 08:02:01 +10:00
parent 94c9f1eaf6
commit 945cf5d334
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 5 additions and 2 deletions

View File

@ -40,6 +40,11 @@ dotnet_diagnostic.BHI3101.severity = warning
# Throw NotImplementedException from methods/props marked [FeatureNotImplemented]
dotnet_diagnostic.BHI3300.severity = error
## Design rules
# Do not declare static members on generic types
dotnet_diagnostic.CA1000.severity = error
## Globalization rules
# Specify IFormatProvider
@ -142,8 +147,6 @@ dotnet_diagnostic.MA0015.severity = error
dotnet_diagnostic.MA0016.severity = silent
# Abstract types should not have public or internal constructors
dotnet_diagnostic.MA0017.severity = silent
# Do not declare static members on generic types
dotnet_diagnostic.MA0018.severity = error
# Use EventArgs.Empty
dotnet_diagnostic.MA0019.severity = error
# Use direct methods instead of LINQ methods