-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
77 lines (77 loc) · 3.3 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
67
68
69
70
71
72
73
74
75
76
77
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
# C# files
[*.cs]
charset=utf-8
trim_trailing_whitespace=false
indent_style=tab
indent_size=tab
tab_width=4
# New line preferences
end_of_line=crlf
insert_final_newline=false
#### .NET Coding Conventions ####
# Organize usings
dotnet_sort_system_directives_first=true
dotnet_separate_import_directive_groups=true
csharp_blank_lines_between_using_groups=1
file_header_template=unset
# Code Style
csharp_style_var_elsewhere=true:suggestion
csharp_style_var_for_built_in_types=true:suggestion
csharp_style_var_when_type_is_apparent=true:suggestion
csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion
csharp_preserve_single_line_blocks=true
csharp_new_line_before_open_brace=all
csharp_indent_braces=false
## Definitions
dotnet_naming_style.lower_camel_case_style.capitalization=camel_case
dotnet_naming_style.upper_camel_case_style.capitalization=pascal_case
## Field preferences
dotnet_style_readonly_field=true:suggestion
## Private members
dotnet_naming_rule.private_members_with_underscore.symbols=private_fields
dotnet_naming_rule.private_members_with_underscore.style=prefix_underscore
dotnet_naming_rule.private_members_with_underscore.severity=suggestion
# Resharper/Rider specific
resharper_trailing_comma_in_multiline_lists=true
resharper_align_multiline_binary_expressions_chain=false
resharper_align_multiline_calls_chain=true
resharper_align_multiline_parameter=true
resharper_autodetect_indent_settings=true
resharper_blank_lines_between_using_groups=1
resharper_csharp_empty_block_style=together_same_line
resharper_csharp_insert_final_newline=true
resharper_csharp_keep_blank_lines_in_code=1
resharper_csharp_keep_existing_linebreaks=false
resharper_csharp_max_line_length=10000
resharper_csharp_naming_rule.private_constants=AaBb
resharper_csharp_naming_rule.private_static_fields=aaBb
resharper_csharp_naming_rule.private_static_readonly=AaBb
resharper_csharp_stick_comment=false
resharper_csharp_wrap_after_declaration_lpar=true
resharper_csharp_wrap_after_invocation_lpar=true
resharper_csharp_wrap_before_declaration_rpar=true
resharper_csharp_wrap_before_first_type_parameter_constraint=true
resharper_csharp_wrap_extends_list_style=chop_if_long
resharper_csharp_wrap_parameters_style=chop_if_long
resharper_enforce_line_ending_style=true
resharper_indent_nested_usings_stmt=true
resharper_keep_existing_embedded_block_arrangement=false
resharper_keep_existing_enum_arrangement=false
resharper_keep_existing_linebreaks=false
resharper_keep_user_linebreaks=true
resharper_max_array_initializer_elements_on_line=4
resharper_max_enum_members_on_line=5
resharper_max_formal_parameters_on_line=4
resharper_place_simple_enum_on_single_line=true
resharper_space_within_single_line_array_initializer_braces=true
resharper_use_indent_from_vs=false
resharper_wrap_after_dot_in_method_calls=false
resharper_wrap_array_initializer_style=chop_if_long
resharper_wrap_chained_method_calls=chop_if_long
resharper_wrap_enum_declaration=chop_if_long
resharper_wrap_switch_expression=chop_if_long
resharper_csharp_align_multiline_calls_chain=false
resharper_csharp_invocable_declaration_braces=next_line
resharper_csharp_type_declaration_braces=next_line