-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
78 lines (71 loc) · 3.12 KB
/
.editorconfig
File metadata and controls
78 lines (71 loc) · 3.12 KB
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
69
70
71
72
73
74
75
76
77
78
root = true
# Assume <AnalysisMode>All</AnalysisMode>
[*.{cs,csx}]
# code styles
csharp_style_expression_bodied_methods = when_on_single_line
csharp_style_namespace_declarations = file_scoped
csharp_style_var_when_type_is_apparent = true
# So IDE0007 doesn't complain e.g. int x = 1;
csharp_style_var_for_built_in_types = false
csharp_style_var_elsewhere = true
dotnet_code_quality.CA1008.additional_enum_none_names = Never|Nothing|NotSet
# IDE0003: Remove qualification, default silent
dotnet_diagnostic.IDE0003.severity = suggestion
# IDE0008: Use explicit type instead of var
dotnet_diagnostic.IDE0008.severity = none
# IDE0130: Namespace does not match folder structure
dotnet_diagnostic.IDE0130.severity = none
# CA1002: Do not expose generic lists
dotnet_diagnostic.CA1002.severity = none
# CA1024: Use properties where appropriate
dotnet_diagnostic.CA1024.severity = none
# CA1028: Enum storage should be Int32
dotnet_diagnostic.CA1028.severity = none
# CA1051: Do not declare visible instance fields
dotnet_diagnostic.CA1051.severity = none
# CA1062: Validate arguments of public methods
dotnet_diagnostic.CA1062.severity = none
# CA1307: Specify StringComparison for clarity
dotnet_diagnostic.CA1307.severity = none
# CA1805: Do not initialize unnecessarily
dotnet_diagnostic.CA1805.severity = silent
# CA1815: Override equals and operator equals on value types
dotnet_diagnostic.CA1815.severity = none
# CA2201: Do not raise reserved exception types
dotnet_diagnostic.CA2201.severity = none
# CA5394: Do not use insecure randomness
dotnet_diagnostic.CA5394.severity = none
# RS0030: Do not use banned APIs
dotnet_diagnostic.RS0030.severity = error
# MA0002: IEqualityComparer<string> or IComparer<string> is missing
dotnet_diagnostic.MA0002.severity = none
# MA0003: Add parameter name to improve readability
dotnet_diagnostic.MA0003.severity = none
# MA0006: Use String.Equals instead of equality operator
dotnet_diagnostic.MA0006.severity = none
# MA0007: Add a comma after the last value
dotnet_diagnostic.MA0007.severity = none
# MA0011: IFormatProvider is missing
dotnet_diagnostic.MA0011.severity = none
# MA0015: Specify the parameter name in ArgumentException
dotnet_diagnostic.MA0015.severity = none
# MA0016: Prefer using collection abstraction instead of implementation
dotnet_diagnostic.MA0016.severity = none
# MA0018: Do not declare static members on generic types (deprecated; use CA1000 instead)
dotnet_diagnostic.MA0018.severity = none
# MA0025: Implement the functionality instead of throwing NotImplementedException
dotnet_diagnostic.MA0025.severity = none
# MA0026: Fix TODO comment
dotnet_diagnostic.MA0026.severity = none
# MA0048: File name must match type name
dotnet_diagnostic.MA0048.severity = none
# MA0049: Type name should not match containing namespace
dotnet_diagnostic.MA0049.severity = none
# MA0051: Method is too long
dotnet_diagnostic.MA0051.severity = none
# MA0071: Avoid using redundant else
dotnet_diagnostic.MA0071.severity = none
# MA0076: Do not use implicit culture-sensitive ToString in interpolated strings
dotnet_diagnostic.MA0076.severity = none
# MA0090: Remove empty else/finally block
dotnet_diagnostic.MA0090.severity = none