-
-
Notifications
You must be signed in to change notification settings - Fork 345
/
.editorconfig
73 lines (54 loc) · 1.83 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
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
[*]
end_of_line = crlf
[*.md]
trim_trailing_whitespace = false
[*.xml]
indent_style = space
[*.yml]
indent_style = space
tab_width = 2
trim_trailing_whitespace = true
[*.json]
tab_width = 4
indent_size = 4
indent_style = space
insert_final_newline = true
[*.csproj]
tab_width = 2
indent_size = 2
indent_style = space
[*.props]
tab_width = 2
indent_size = 2
indent_style = space
[*.cs]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
dotnet_sort_system_directives_first = true
charset = utf-8-bom
csharp_using_directive_placement = outside_namespace:suggestion
#### C# Code Analyzers ####
# CS0612: Type or member is obsolete
dotnet_diagnostic.CS0612.severity = silent
# CS0618: Type or member is obsolete
dotnet_diagnostic.CS0618.severity = silent
# CS8600: Converting null literal or possible null value to non-nullable type.
dotnet_diagnostic.CS8600.severity = silent
# CS8601: Possible null reference assignment.
dotnet_diagnostic.CS8601.severity = silent
# CS8602: Dereference of a possibly null reference.
dotnet_diagnostic.CS8602.severity = silent
# CS8603: Possible null reference return.
dotnet_diagnostic.CS8603.severity = silent
# CS8604: Possible null reference argument.
dotnet_diagnostic.CS8604.severity = silent
# CS8618: Non-nullable field must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring as nullable.
dotnet_diagnostic.CS8618.severity = silent
# CS8625: Cannot convert null literal to non-nullable reference type.
dotnet_diagnostic.CS8625.severity = silent
# CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
dotnet_diagnostic.CS8632.severity = silent