-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.editorconfig
164 lines (154 loc) · 6.61 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
[*]
trim_trailing_whitespace = true
insert_final_newline = false
indent_style = space
indent_size = 2
tab_width = 2
# Microsoft .NET properties
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:error
csharp_space_after_cast = false
csharp_space_after_keywords_in_control_flow_statements = false
csharp_space_between_parentheses = expressions
csharp_style_expression_bodied_accessors = true:suggestion
csharp_style_expression_bodied_constructors = true:suggestion
csharp_style_expression_bodied_methods = true:suggestion
csharp_style_expression_bodied_properties = true:suggestion
csharp_style_var_elsewhere = true:suggestion
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:suggestion
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggestion
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:suggestion
dotnet_style_predefined_type_for_locals_parameters_members = true:error
dotnet_style_predefined_type_for_member_access = true:error
dotnet_style_qualification_for_event = false:suggestion
dotnet_style_qualification_for_field = false:suggestion
dotnet_style_qualification_for_method = false:suggestion
dotnet_style_qualification_for_property = false:suggestion
dotnet_style_require_accessibility_modifiers = for_non_interface_members:error
# ReSharper properties
resharper_align_linq_query = true
resharper_align_multiline_argument = true
resharper_align_multiline_binary_patterns = true
resharper_align_multiline_calls_chain = true
resharper_align_multiline_expression = true
resharper_align_multiline_extends_list = true
resharper_align_multiline_for_stmt = true
resharper_align_multiline_parameter = true
resharper_align_multiple_declaration = true
resharper_align_multline_type_parameter_constrains = true
resharper_align_multline_type_parameter_list = true
resharper_align_tuple_components = true
resharper_allow_comment_after_lbrace = true
resharper_blank_lines_after_multiline_statements = 1
resharper_blank_lines_around_accessor = 1
resharper_blank_lines_around_multiline_case_section = 1
resharper_blank_lines_around_single_line_type = 0
resharper_blank_lines_before_block_statements = 0
resharper_blank_lines_before_control_transfer_statements = 0
resharper_blank_lines_before_multiline_statements = 0
resharper_blank_lines_before_single_line_comment = 1
resharper_braces_for_ifelse = not_required
resharper_cpp_indent_size = 4
resharper_cpp_tab_width = 4
resharper_csharp_empty_block_style = together_same_line
resharper_csharp_indent_method_decl_pars = inside
resharper_csharp_indent_size = 2
resharper_csharp_insert_final_newline = false
resharper_csharp_int_align_comments = true
resharper_csharp_keep_blank_lines_in_declarations = 1
resharper_csharp_outdent_commas = true
resharper_csharp_outdent_dots = true
resharper_csharp_place_comments_at_first_column = true
resharper_csharp_tab_width = 2
resharper_csharp_use_indent_from_previous_element = true
resharper_csharp_wrap_after_declaration_lpar = true
resharper_csharp_wrap_after_invocation_lpar = true
resharper_csharp_wrap_before_binary_opsign = true
resharper_csharp_wrap_before_first_type_parameter_constraint = true
resharper_csharp_wrap_before_invocation_rpar = true
resharper_csharp_wrap_parameters_style = chop_if_long
resharper_indent_method_decl_pars = inside
resharper_int_align = true
resharper_int_align_assignments = true
resharper_int_align_binary_expressions = true
resharper_int_align_fields = true
resharper_int_align_methods = true
resharper_int_align_nested_ternary = true
resharper_int_align_parameters = true
resharper_int_align_properties = true
resharper_int_align_property_patterns = true
resharper_int_align_switch_expressions = true
resharper_int_align_switch_sections = true
resharper_int_align_variables = true
resharper_keep_existing_attribute_arrangement = true
resharper_keep_existing_declaration_parens_arrangement = false
resharper_keep_existing_enum_arrangement = true
resharper_keep_existing_expr_member_arrangement = false
resharper_keep_existing_initializer_arrangement = false
resharper_keep_existing_invocation_parens_arrangement = false
resharper_keep_existing_property_patterns_arrangement = false
resharper_keep_existing_switch_expression_arrangement = false
resharper_local_function_body = expression_body
resharper_max_enum_members_on_line = 20
resharper_nested_ternary_style = compact
resharper_object_creation_when_type_evident = explicitly_typed
resharper_outdent_binary_ops = true
resharper_outdent_binary_pattern_ops = true
resharper_outdent_statement_labels = true
resharper_place_accessorholder_attribute_on_same_line = false
resharper_place_expr_method_on_single_line = if_owner_is_single_line
resharper_place_field_attribute_on_same_line = false
resharper_place_linq_into_on_new_line = false
resharper_place_simple_case_statement_on_same_line = if_owner_is_single_line
resharper_place_simple_embedded_statement_on_same_line = if_owner_is_single_line
resharper_place_simple_enum_on_single_line = true
resharper_remove_blank_lines_near_braces_in_declarations = false
resharper_space_after_logical_not_op = true
resharper_trailing_comma_in_multiline_lists = true
resharper_trailing_comma_in_singleline_lists = true
resharper_use_heuristics_for_body_style = true
resharper_vb_indent_size = 2
resharper_vb_tab_width = 2
resharper_wrap_after_invocation_lpar = false
resharper_wrap_array_initializer_style = chop_if_long
resharper_wrap_before_arrow_with_expressions = true
resharper_wrap_before_eq = true
resharper_wrap_before_linq_expression = true
resharper_wrap_enum_declaration = chop_if_long
resharper_wrap_text = false
resharper_xmldoc_indent_size = 2
resharper_xmldoc_spaces_inside_tags = true
resharper_xmldoc_tab_width = 2
resharper_xmldoc_wrap_around_elements = false
resharper_xmldoc_wrap_tags_and_pi = false
# Standard properties
max_line_length = 160
charset = utf-8
end_of_line = crlf
[*.cs]
indent_style = space
indent_size = 2
tab_width = 2
[*.config]
indent_style = space
indent_size = 2
[{*.androidproj,*.ccproj,*.csproj}]
indent_style = space
indent_size = 2
[{*.yaml,*.yml}]
indent_style = space
indent_size = 2
[*.{appxmanifest,axaml,build,cg,cginc,compute,dtd,hlsl,hlsli,hlslinc,nuspec,paml,resw,resx,usf,ush,xaml,xamlx,xoml,xsd}]
indent_style = space
indent_size = 2
tab_width = 2
[*.{asax,ascx,aspx,cshtml,master,razor,skin,vb}]
indent_style = space
indent_size = 2
tab_width = 2
[.editorconfig]
indent_style = space
indent_size = 2