-
Notifications
You must be signed in to change notification settings - Fork 2
/
.editorconfig
56 lines (50 loc) · 1.58 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
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
#Normalize strings to uppercase
dotnet_diagnostic.CA1308.severity = none