-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.editorconfig
38 lines (30 loc) · 1.08 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
root = true
[*]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
[*.cs]
csharp_style_var_when_type_is_apparent = true
csharp_prefer_braces = when_multiline
csharp_style_namespace_declarations = file_scoped
dotnet_style_allow_multiple_blank_lines_experimental = false
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
dotnet_analyzer_diagnostic.severity = warning
# don't add _ discards for return values
dotnet_diagnostic.IDE0058.severity = none
# don't change var to explicit type
dotnet_diagnostic.IDE0008.severity = none
# use expression bodies for methods: when i feel like it
dotnet_diagnostic.IDE0022.severity = none
# incomplete switch statements are fine
dotnet_diagnostic.IDE0010.severity = none
dotnet_diagnostic.IDE0072.severity = none
dotnet_diagnostic.CA1805.severity = none
dotnet_diagnostic.CA1051.severity = none
dotnet_diagnostic.CA1001.severity = none
dotnet_diagnostic.CA1725.severity = none
dotnet_diagnostic.CA1707.severity = none
dotnet_diagnostic.CA1711.severity = none