-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
46 lines (34 loc) · 1.18 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
root = true
[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 120
trim_trailing_whitespace = true
[*.cs]
indent_size = 4
# style
csharp_prefer_braces = when_multiline
csharp_preserve_single_line_blocks = true
csharp_style_namespace_declarations = file_scoped
dotnet_sort_system_directives_first = true
# style - experimental
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
dotnet_style_allow_multiple_blank_lines_experimental = false
# IDE0005: Remove unnecessary import
dotnet_diagnostic.IDE0005.severity = warning
# IDE0161: Namespace scope
dotnet_diagnostic.IDE0161.severity = warning
# IDE2000: Allow multiple blank lines
dotnet_diagnostic.IDE2000.severity = warning
# IDE2002: Allow blank lines between consecutive braces
dotnet_diagnostic.IDE2002.severity = warning
# CA1825: Avoid zero-length array allocations
dotnet_diagnostic.CA1825.severity = warning
# CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.CA2007.severity = warning
# CA2016: Forward the 'CancellationToken' parameter to methods
dotnet_diagnostic.CA2016.severity = warning
[.git/*]
max_line_length = unset