-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy path.editorconfig
87 lines (77 loc) · 2.71 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
root = true
[*]
end_of_line = crlf
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 190
# Xml project files
[*.csproj]
indent_style = space
indent_size = 2
# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_style = space
indent_size = 2
[*.{md,json}]
indent_style = space
indent_size = 4
[*.cs]
indent_style = space
indent_size = 4
# Dispose objects before losing scope
dotnet_diagnostic.CA2000.severity = none
# Do not directly await a Task
dotnet_diagnostic.CA2007.severity = none
# Use the LoggerMessage delegates
dotnet_diagnostic.CA1848.severity = none
# Validate arguments of public methods
dotnet_diagnostic.CA1062.severity = none
# Do not pass literals as localized parameters
dotnet_diagnostic.CA1303.severity = none
# Do not catch general exception types
dotnet_diagnostic.CA1031.severity = none
#Do not expose generic lists
dotnet_diagnostic.CA1002.severity = none
# Identifiers should not contain underscores
dotnet_diagnostic.CA1707.severity = none
# Avoid uninstantiated internal classes
dotnet_diagnostic.CA1812.severity = none
#Identifiers should not have incorrect suffix
dotnet_diagnostic.CA1711.severity = none
#Pass System.Uri objects instead of strings
dotnet_diagnostic.CA2234.severity = none
#Nested types should not be visible
dotnet_diagnostic.CA1034.severity = none
#Static holder types should be Static or NotInheritable
dotnet_diagnostic.CA1052.severity = none
#Do not raise reserved exception types
dotnet_diagnostic.CA2201.severity = none
dotnet_diagnostic.CA1854.severity = none
#The enum member 'Itself' has the same constant value
dotnet_diagnostic.CA1069.severity = none
#Do not create task without passing TaskScheduler
dotnet_diagnostic.CA2008.severity = none
#Use concrete types
dotnet_diagnostic.CA1859.severity = none
# After this line there are suppressions from .NET 9 upgraqdes, check these later
#Use var keyword
dotnet_diagnostic.IDE0008.severity = none
#Use namespace declaration
dotnet_diagnostic.IDE0160.severity = none
#Discard Expression value never used
dotnet_diagnostic.IDE0058.severity = none
#A type inside an executable assembly is declared as public.
dotnet_diagnostic.CA1015.severity = none
dotnet_diagnostic.CA1515.severity = none
dotnet_diagnostic.CS0618.severity = none
dotnet_diagnostic.IDE0011.severity = none
dotnet_diagnostic.IDE1006.severity = none
dotnet_diagnostic.IDE0040.severity = none
dotnet_diagnostic.IDE0079.severity = none
dotnet_diagnostic.IDE0022.severity = none
dotnet_diagnostic.IDE0300.severity = none
dotnet_diagnostic.IDE0055.severity = none
dotnet_diagnostic.IDE0130.severity = none
dotnet_diagnostic.IDE0046.severity = none
dotnet_diagnostic.IDE0072.severity = none
dotnet_diagnostic.IDE0005.severity = none