-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
66 lines (59 loc) · 2.4 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
root=true
[*.cs]
indent_style=tab
indent_size=tab
insert_final_newline=true
trim_trailing_whitespace=true
[*.{proto,ts,tsx}]
indent_style=tab
indent_size=tab
[*.{config,csproj,json,nuspec,props,resxtargets,targets,sh}]
indent_style=space
indent_size=2
tab_width=2
[*.{ps1,ps}]
indent_style=space
indent_size=4
tab_width=4
[*.cs]
# Microsoft .NET properties
csharp_new_line_before_open_brace=types,local_functions,methods,indexers,events,properties,accessors,control_blocks,control_blocks
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
csharp_space_after_cast=false
csharp_style_var_elsewhere=true:hint
csharp_style_var_for_built_in_types=true:hint
csharp_style_var_when_type_is_apparent=true:hint
csharp_using_directive_placement=inside_namespace:silent
dotnet_style_predefined_type_for_locals_parameters_members=true:hint
dotnet_style_predefined_type_for_member_access=true:hint
dotnet_style_qualification_for_event=false:warning
dotnet_style_qualification_for_field=false:warning
dotnet_style_qualification_for_method=false:warning
dotnet_style_qualification_for_property=false:warning
# ReSharper properties
resharper_align_multiline_binary_expressions_chain=false
resharper_align_multiline_calls_chain=true
resharper_align_multiline_for_stmt=true
resharper_align_multline_type_parameter_constrains=true
resharper_align_multline_type_parameter_list=true
resharper_blank_lines_around_auto_property=0
resharper_braces_for_for=required
resharper_braces_for_foreach=required
resharper_braces_for_ifelse=required
resharper_braces_for_while=required
resharper_csharp_align_multiple_declaration=true
resharper_csharp_blank_lines_around_field=0
resharper_csharp_empty_block_style=together
resharper_csharp_insert_final_newline=true
resharper_csharp_keep_blank_lines_in_code=1
resharper_csharp_keep_blank_lines_in_declarations=1
resharper_csharp_wrap_chained_method_calls=chop_if_long
resharper_default_internal_modifier=implicit
resharper_keep_existing_expr_member_arrangement=false
resharper_keep_existing_initializer_arrangement=false
resharper_keep_existing_linebreaks=true
resharper_keep_user_linebreaks=true
resharper_place_accessorholder_attribute_on_same_line=False
resharper_space_before_fixed_parentheses=false
resharper_space_before_lock_parentheses=false
resharper_space_within_single_line_array_initializer_braces=true