|
| 1 | +[*.cs] |
| 2 | + |
| 3 | +# Suppress performance, usage, naming, maintainability, style diagnostics. |
| 4 | +dotnet_analyzer_diagnostic.category-design.severity = none |
| 5 | +dotnet_analyzer_diagnostic.category-globalization.severity = none |
| 6 | +dotnet_analyzer_diagnostic.category-naming.severity = none |
| 7 | +dotnet_analyzer_diagnostic.category-performance.severity = none |
| 8 | +dotnet_analyzer_diagnostic.category-reliability.severity = none |
| 9 | +dotnet_analyzer_diagnostic.category-security.severity = warning |
| 10 | +dotnet_analyzer_diagnostic.category-usage.severity = none |
| 11 | +dotnet_analyzer_diagnostic.category-Maintainability.severity = none |
| 12 | +dotnet_analyzer_diagnostic.category-Style.severity = none |
| 13 | + |
| 14 | +# Addtional suppress to be compatible with different version among VS2019 |
| 15 | + |
| 16 | +# CA1001: Types that own disposable fields should be disposable |
| 17 | +dotnet_diagnostic.CA1001.severity = none |
| 18 | + |
| 19 | +# CA1063: Implement IDisposable Correctly |
| 20 | +dotnet_diagnostic.CA1063.severity = none |
| 21 | + |
| 22 | +# CA1033: Interface methods should be callable by child types |
| 23 | +dotnet_diagnostic.CA1033.severity = none |
| 24 | + |
| 25 | +# CA2229: Implement serialization constructors |
| 26 | +dotnet_diagnostic.CA2229.severity = none |
| 27 | + |
| 28 | +# CA2200: Rethrow to preserve stack details. |
| 29 | +dotnet_diagnostic.CA2200.severity = none |
| 30 | + |
| 31 | +# CA1065: Do not raise exceptions in unexpected locations |
| 32 | +dotnet_diagnostic.CA1065.severity = none |
| 33 | + |
| 34 | +# CA2214: Do not call overridable methods in constructors |
| 35 | +dotnet_diagnostic.CA2214.severity = none |
0 commit comments