-
Notifications
You must be signed in to change notification settings - Fork 6
/
.editorconfig
51 lines (35 loc) · 1.66 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[*.cs]
# CS0219: Variable is assigned but its value is never used
dotnet_diagnostic.CS0219.severity = warning
# CA1416: Validate platform compatibility
dotnet_diagnostic.CA1416.severity = warning
# Default severity for analyzer diagnostics with category 'Interoperability'
dotnet_analyzer_diagnostic.category-Interoperability.severity = warning
# Default severity for all analyzer diagnostics
dotnet_analyzer_diagnostic.severity = warning
dotnet_diagnostic.CA1416.severity = none
dotnet_diagnostic.IDE0032.severity = none
dotnet_diagnostic.IDE0011.severity = none
dotnet_diagnostic.IDE0055.severity = none
# CA2201: Do not raise reserved exception types
dotnet_diagnostic.CA2201.severity = suggestion
# IDE0027: Use expression body for accessors
dotnet_diagnostic.IDE0027.severity = suggestion
# IDE0005: Using directive is unnecessary.
dotnet_diagnostic.IDE0005.severity = suggestion
# IDE0044: Add readonly modifier
dotnet_diagnostic.IDE0044.severity = suggestion
# IDE1006: Naming Styles
dotnet_diagnostic.IDE1006.severity = suggestion
# IDE0058: Expression value is never used
dotnet_diagnostic.IDE0058.severity = suggestion
# IDE0028: Simplify collection initialization
dotnet_diagnostic.IDE0028.severity = suggestion
# CA1846: Prefer 'AsSpan' over 'Substring'
dotnet_diagnostic.CA1846.severity = suggestion
# Default severity for analyzer diagnostics with category 'Globalization'
dotnet_analyzer_diagnostic.category-Globalization.severity = suggestion
# IDE0047: Remove unnecessary parentheses
dotnet_diagnostic.IDE0047.severity = suggestion
# Default severity for analyzer diagnostics with category 'Style'
dotnet_analyzer_diagnostic.category-Style.severity = suggestion