-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.editorconfig
46 lines (38 loc) · 1.13 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
[*]
end_of_line = crlf
tab_width = 4
indent_size=4
trim_trailing_whitespace = true
insert_final_newline = true
[*.csproj]
indent_style = tab
tab_width = 2
indent_size = 2
[*.yml]
indent_style = space
[*.md]
indent_style = space
[*.{cs,xaml,xml,targets,props}]
indent_style = tab
[*.cs]
# Code Style
dotnet_style_operator_placement_when_wrapping=beginning_of_line
csharp_new_line_before_open_brace=all
csharp_new_line_before_else=true
csharp_new_line_before_catch=true
csharp_new_line_before_finally=true
csharp_new_line_before_members_in_object_initializers=true
csharp_new_line_before_members_in_anonymous_types=true
csharp_new_line_between_query_expression_clauses=true
csharp_space_after_keywords_in_control_flow_statements=true
csharp_space_after_colon_in_inheritance_clause=true
csharp_space_before_dot=false
csharp_space_before_comma=false
csharp_space_after_comma=true
csharp_space_after_dot=false
csharp_space_before_semicolon_in_for_statement=false
csharp_space_around_binary_operators=before_and_after
csharp_preserve_single_line_blocks=true
csharp_preserve_single_line_statements=true
dotnet_diagnostic.CA1848.severity = none