.editorconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [*.cs]
  2. spelling_exclusion_path = ../../exclusion.dic
  3. spelling_checkable_types = identifiers,comments
  4. #### Meziantou.Analyzer rules ####
  5. # MA0001: StringComparison is missing
  6. # https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0001.md
  7. #
  8. # TODO: Re-enable when issues are fixed
  9. dotnet_diagnostic.MA0001.severity = silent
  10. # MA0110: Use the Regex source generator
  11. # https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0110.md
  12. dotnet_diagnostic.MA0110.severity = silent
  13. # MA0026: Fix TODO comment
  14. # https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0026.md
  15. dotnet_diagnostic.MA0026.severity = silent
  16. #### .NET Compiler Platform analysers rules ####
  17. # CA1307: Specify StringComparison for clarity
  18. # https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1307
  19. dotnet_diagnostic.CA1307.severity = silent
  20. # CA1822: Mark members as static
  21. # https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1822
  22. dotnet_diagnostic.CA1822.severity = silent
  23. # IDE0046: Use conditional expression for return
  24. # https://learn.microsoft.com/en-ca/dotnet/fundamentals/code-analysis/style-rules/ide0046
  25. dotnet_diagnostic.IDE0046.severity = silent
  26. # IDE0047: Remove unnecessary parentheses
  27. # https://learn.microsoft.com/en-ca/dotnet/fundamentals/code-analysis/style-rules/ide0047-ide0048
  28. dotnet_diagnostic.IDE0047.severity = silent
  29. # IDE0032: Use auto-implemented property
  30. # https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0032
  31. dotnet_diagnostic.IDE0032.severity = silent