-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
94 lines (68 loc) · 2.41 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
87
88
89
90
91
92
93
94
root = true
[*.{cs,csx}]
insert_final_newline = true
# Namespace must match folder structure
dotnet_diagnostic.IDE0130.severity = none
# Prefix local calls with this
dotnet_diagnostic.SA1101.severity = none
# File header
dotnet_diagnostic.SA1633.severity = none
# Usings inside namespace
dotnet_diagnostic.SA1200.severity = none
# EOF Newline
dotnet_style_code_must_not_contain_blank_lines_at_end_of_file = true:require
dotnet_diagnostic.SA1518.severity = error
# Imports - Organization and Remove Unnecessary Ones
dotnet_separate_import_directive_groups = true
dotnet_diagnostic.IDE0005.severity = error
# "Do not directly await a task"
# This is a library not a GUI
dotnet_diagnostic.CA2007.severity = none
# "Validate arguments are not null"
# C# 8 Nullability makes this unnecessary
dotnet_diagnostic.CA1062.severity = none
# Globalization
# We don't do it
dotnet_diagnostic.CA1303.severity = none
dotnet_diagnostic.CA1307.severity = none
dotnet_diagnostic.CA1305.severity = none
# Fields should begin with a capital letter
dotnet_diagnostic.SA1307.severity = none
dotnet_diagnostic.SA1303.severity = none
# No query clause separation
dotnet_diagnostic.SA1102.severity = none
# Closing brace position
dotnet_diagnostic.SA1111.severity = none
# Attributes in their own bracket
dotnet_diagnostic.SA1133.severity = none
# Parentheses
dotnet_diagnostic.SA1009.severity = none
dotnet_analyzer_diagnostic.category-Style.severity = error
dotnet_diagnostic.IDE0058.severity = none
dotnet_diagnostic.IDE0008.severity = none
dotnet_diagnostic.SA1633.severity = none
# Using directive inside namespace
dotnet_diagnostic.SA1200.severity = none
[tests/**.{cs,csx}]
# Unused parameters
dotnet_diagnostic.CA1801.severity = none
dotnet_diagnostic.IDE0060.severity = none
# XML comments
# Not necessary in test projects
dotnet_diagnostic.CS1591.severity = none
dotnet_diagnostic.SA1600.severity = none
# Underscores in names
dotnet_diagnostic.CA1707.severity = none
[obj/**.{cs,csx}]
# Unnecessary usings - we don't have much control over these
dotnet_diagnostic.CS8019.severity = none
# Accessibility modifiers on assembly classes
dotnet_diagnostic.IDE0040.severity = none
# Using directive inside namespace
dotnet_diagnostic.SA1200.severity = none
# XML Comments
dotnet_diagnostic.CS1591.severity = none
dotnet_diagnostic.SA1601.severity = none
[obj/**.cs]
dotnet_analyzer_diagnostic.category-Style.severity = none
dotnet_diagnostic.SA1633.severity = none