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