.editorconfig 1.5 KB

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