-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
.editorconfig
68 lines (46 loc) · 2.15 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[*.cs]
# CA1707: Identifiers should not contain underscores
dotnet_diagnostic.CA1707.severity = suggestion
# CA2211: Non-constant fields should not be visible
dotnet_diagnostic.CA2211.severity = suggestion
# CA1062: Validate arguments of public methods
dotnet_diagnostic.CA1062.severity = suggestion
# CA1303: Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = suggestion
# CA1305: Specify IFormatProvider
dotnet_diagnostic.CA1305.severity = suggestion
# CA1031: Do not catch general exception types
dotnet_diagnostic.CA1031.severity = suggestion
# CA1304: Specify CultureInfo
dotnet_diagnostic.CA1304.severity = suggestion
# CA1051: Do not declare visible instance fields
dotnet_diagnostic.CA1051.severity = silent
# CA1712: Do not prefix enum values with type name
dotnet_diagnostic.CA1712.severity = silent
# CA1307: Specify StringComparison
dotnet_diagnostic.CA1307.severity = suggestion
# CA1815: Override equals and operator equals on value types
dotnet_diagnostic.CA1815.severity = silent
dotnet_diagnostic.CS3003.severity = silent
dotnet_diagnostic.CS3009.severity = silent
dotnet_diagnostic.CS3001.severity = silent
# CS0612: 'MAVLink.mavlink_ais_vessel_t' is obsolete
dotnet_diagnostic.CS0612.severity = silent
# SCS0006: Weak hashing function
dotnet_diagnostic.SCS0006.severity = silent
# SCS0005: Weak random generator
dotnet_diagnostic.SCS0005.severity = silent
# CS0162: Unreachable code detected
dotnet_diagnostic.CS0162.severity = suggestion
csharp_indent_block_contents=true
# CS1522: Empty switch block
dotnet_diagnostic.CS1522.severity = suggestion
dotnet_diagnostic.CS3021.severity = silent
dotnet_diagnostic.CS0618.severity = silent
# AsyncVoidAnalyzer: Async Void methods should catch exceptions
dotnet_diagnostic.AsyncVoidAnalyzer.severity = error
dotnet_diagnostic.ASYNC0003.severity = error
# CS8105: Attribute 'System.Reflection.AssemblyKeyFileAttribute' is ignored when public signing is specified.
dotnet_diagnostic.CS8105.severity = silent
# AsyncFixer03: Fire-and-forget async-void methods or delegates
dotnet_diagnostic.AsyncFixer03.severity = error