-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
59 lines (46 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
root = true
[*.{cs,json,xml}]
end_of_line = lf
charset = utf-8-bom
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.cs]
# Use collection initializers or expressions (IDE0028)
dotnet_diagnostic.IDE0028.severity = none
#Use index operator (IDE0056)
dotnet_diagnostic.IDE0056.severity = none
# Use range operator (IDE0057)
dotnet_diagnostic.IDE0057.severity = none
# Use simple 'using' statement (IDE0063)
dotnet_diagnostic.IDE0063.severity = none
# Simplify new expression (IDE0090)
dotnet_diagnostic.IDE0090.severity = none
# Namespace does not match folder structure (IDE0130)
dotnet_diagnostic.IDE0130.severity = none
# Use primary constructor (IDE0290)
dotnet_diagnostic.IDE0290.severity = none
# Use collection expression for fluent (IDE0305)
dotnet_diagnostic.IDE0305.severity = none
# IDE1006: Naming Styles
dotnet_diagnostic.IDE1006.severity = none
dotnet_diagnostic.IDE0017.severity = error
dotnet_diagnostic.IDE0029.severity = error
dotnet_diagnostic.IDE0030.severity = error
dotnet_diagnostic.IDE0031.severity = error
dotnet_diagnostic.IDE0038.severity = error
dotnet_diagnostic.IDE0044.severity = error
dotnet_diagnostic.IDE0051.severity = error
dotnet_diagnostic.IDE0075.severity = error
dotnet_diagnostic.IDE0230.severity = error
dotnet_diagnostic.IDE0250.severity = error
dotnet_diagnostic.IDE0251.severity = error
dotnet_diagnostic.IDE0270.severity = error
dotnet_diagnostic.IDE0300.severity = error
dotnet_diagnostic.IDE0301.severity = error
dotnet_diagnostic.IDE1005.severity = error
# IDE0007: Use explicit type
dotnet_diagnostic.IDE0007.severity = error
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion