@@ -503,4 +503,55 @@ dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
503503dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
504504
505505dotnet_naming_style.camel_case_underscore_style.required_prefix = _
506- dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case
506+ dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case
507+
508+ # Meziantou.Analyzer rules
509+ # https://github.com/meziantou/Meziantou.Analyzer/tree/main/docs/Rules
510+
511+ # MA0002: Use IEqualityComparer/IComparer - HashSet/Dictionary use ordinal by default which is correct for most cases
512+ dotnet_diagnostic.MA0002.severity = suggestion
513+
514+ # MA0004: Use Task.ConfigureAwait
515+ dotnet_diagnostic.MA0004.severity = suggestion
516+
517+ # MA0006: Use string.Equals instead of == for string comparison
518+ dotnet_diagnostic.MA0006.severity = suggestion
519+
520+ # MA0011: IFormatProvider is missing
521+ dotnet_diagnostic.MA0011.severity = suggestion
522+
523+ # MA0015: Specify the parameter name in ArgumentException - lowered since validation methods validate properties not parameters
524+ dotnet_diagnostic.MA0015.severity = suggestion
525+
526+ # MA0016: Prefer using collection abstraction instead of implementation
527+ dotnet_diagnostic.MA0016.severity = suggestion
528+
529+ # MA0018: Do not declare static members on generic types
530+ dotnet_diagnostic.MA0018.severity = suggestion
531+
532+ # MA0026: Fix TODO comment
533+ dotnet_diagnostic.MA0026.severity = suggestion
534+
535+ # MA0039: Do not write your own certificate validation method - intentional for simulator to accept self-signed certs
536+ dotnet_diagnostic.MA0039.severity = none
537+
538+ # MA0048: File name must match type name - noisy for internal helper types in same file
539+ dotnet_diagnostic.MA0048.severity = suggestion
540+
541+ # MA0049: Type name should not match containing namespace
542+ dotnet_diagnostic.MA0049.severity = suggestion
543+
544+ # MA0051: Method is too long
545+ dotnet_diagnostic.MA0051.severity = suggestion
546+
547+ # MA0055: Do not use finalizer - allowed in test fixtures for cleanup safety nets
548+ dotnet_diagnostic.MA0055.severity = suggestion
549+
550+ # MA0158: Use System.Threading.Lock (.NET 9+) - lowered due to multi-targeting .NET 8 which doesn't have Lock
551+ dotnet_diagnostic.MA0158.severity = suggestion
552+
553+ # MA0074: Use overload with StringComparison parameter
554+ dotnet_diagnostic.MA0074.severity = warning
555+
556+ # MA0099: Use the null-forgiving operator with caution (disallow !)
557+ dotnet_diagnostic.MA0099.severity = warning
0 commit comments