-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
202 lines (198 loc) · 11.6 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
# noinspection EditorConfigKeyCorrectness
# https://learn.microsoft.com/en-us/visualstudio/code-quality/use-roslyn-analyzers?view=vs-2022
# https://www.jetbrains.com/help/rider/EditorConfig_Properties.html
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = tab
tab_width = 4
# Microsoft .NET properties
csharp_new_line_before_catch = false
csharp_new_line_before_else = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_before_open_brace = none
# noinspection EditorConfigValueCorrectness
csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion
csharp_space_after_cast = true
csharp_style_prefer_utf8_string_literals = 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_naming_rule.private_constants_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_constants_rule.severity = warning
dotnet_naming_rule.private_constants_rule.style = upper_camel_case_style
dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols
dotnet_naming_rule.private_instance_fields_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_instance_fields_rule.severity = warning
dotnet_naming_rule.private_instance_fields_rule.style = lower_camel_case_style
dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols
dotnet_naming_rule.private_static_fields_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_static_fields_rule.severity = warning
dotnet_naming_rule.private_static_fields_rule.style = lower_camel_case_style
dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols
dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = as_predefined
dotnet_naming_rule.private_static_readonly_rule.severity = warning
dotnet_naming_rule.private_static_readonly_rule.style = lower_camel_case_style
dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols
dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True
dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field
dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
dotnet_naming_rule.unity_serialized_field_rule.severity = warning
dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style
dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case
dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field
dotnet_naming_symbols.private_constants_symbols.required_modifiers = const
dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static
dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static,readonly
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
dotnet_style_predefined_type_for_member_access = true:suggestion
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 = never:suggestion
# ReSharper properties
resharper_align_multiline_binary_expressions_chain = false
resharper_align_multiline_statement_conditions = false
resharper_apply_auto_detected_rules = false
resharper_autodetect_indent_settings = true
resharper_blank_lines_before_single_line_comment = 1
resharper_braces_for_for = required
resharper_braces_for_foreach = required
resharper_braces_for_ifelse = required
resharper_braces_for_while = required
resharper_cpp_max_line_length = 250
resharper_csharp_alignment_tab_fill_style = use_tabs_only
resharper_csharp_empty_block_style = together
resharper_csharp_indent_style = tab
resharper_csharp_insert_final_newline = true
resharper_csharp_int_align_fix_in_adjacent = false
resharper_csharp_keep_blank_lines_in_declarations = 1
resharper_csharp_max_line_length = 95
resharper_csharp_stick_comment = false
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_formatter_off_tag = @formatter:off
resharper_formatter_on_tag = @formatter:on
resharper_fsharp_max_line_length = 250
resharper_html_attribute_indent = single_indent
resharper_html_insert_final_newline = true
resharper_html_max_blank_lines_between_tags = 1
resharper_html_max_line_length = 250
resharper_html_pi_attributes_indent = single_indent
resharper_html_space_before_self_closing = true
resharper_indent_braces_inside_statement_conditions = false
resharper_indent_preprocessor_if = usual_indent
resharper_indent_preprocessor_other = usual_indent
resharper_keep_existing_switch_expression_arrangement = false
resharper_normalize_tag_names = true
resharper_no_indent_inside_if_element_longer_than = 20000
resharper_object_creation_when_type_not_evident = target_typed
resharper_pi_attribute_style = do_not_touch
resharper_place_linq_into_on_new_line = false
resharper_place_simple_case_statement_on_same_line = if_owner_is_single_line
resharper_place_simple_enum_on_single_line = true
resharper_razor_always_use_end_of_line_brace_style = true
resharper_razor_remove_blank_lines_near_braces = true
resharper_resx_max_line_length = 250
resharper_shaderlab_max_line_length = 250
resharper_space_between_attribute_sections = false
resharper_T4_max_line_length = 250
resharper_trailing_comma_in_multiline_lists = true
resharper_use_indent_from_vs = false
resharper_vb_max_line_length = 250
resharper_wrap_before_eq = true
resharper_wrap_before_linq_expression = true
resharper_wrap_chained_binary_expressions = chop_if_long
resharper_wrap_chained_binary_patterns = chop_if_long
resharper_wrap_chained_method_calls = chop_if_long
resharper_wrap_enum_declaration = chop_if_long
resharper_xmldoc_max_line_length = 250
resharper_xml_max_line_length = 250
# ReSharper inspection severities
resharper_arrange_object_creation_when_type_not_evident_highlighting = warning
resharper_arrange_redundant_parentheses_highlighting = hint
resharper_arrange_static_member_qualifier_highlighting = none
resharper_arrange_this_qualifier_highlighting = none # Default: hint
resharper_arrange_trailing_comma_in_multiline_lists_highlighting = none
resharper_arrange_type_member_modifiers_highlighting = none # Default: hint
resharper_arrange_type_modifiers_highlighting = none # Default: hint
resharper_assign_null_to_not_null_attribute_highlighting = suggestion
resharper_base_object_get_hash_code_call_in_get_hash_code_highlighting = suggestion
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
resharper_built_in_type_reference_style_highlighting = hint
resharper_class_never_instantiated_global_highlighting = none
resharper_collection_never_queried_local_highlighting = suggestion
resharper_collection_never_updated_local_highlighting = suggestion
resharper_convert_closure_to_method_group_highlighting = hint
resharper_convert_to_lambda_expression_highlighting = hint
resharper_co_variant_array_conversion_highlighting = suggestion
resharper_empty_general_catch_clause_highlighting = suggestion
resharper_generic_enumerator_not_disposed_highlighting = suggestion
resharper_heuristic_unreachable_code_highlighting = suggestion
resharper_html_attributes_quotes_highlighting = none
resharper_inconsistently_synchronized_field_highlighting = suggestion
resharper_invoke_as_extension_method_highlighting = hint
resharper_member_initializer_value_ignored_highlighting = suggestion
resharper_mvc_action_not_resolved_highlighting = warning
resharper_mvc_controller_not_resolved_highlighting = warning
resharper_mvc_partial_view_not_resolved_highlighting = warning
resharper_not_accessed_variable_highlighting = suggestion
resharper_object_creation_as_statement_highlighting = suggestion
resharper_parameter_hides_member_highlighting = hint
resharper_parameter_only_used_for_precondition_check_local_highlighting = suggestion
resharper_possible_intended_rethrow_highlighting = suggestion
resharper_possible_invalid_operation_exception_highlighting = suggestion
resharper_possible_loss_of_fraction_highlighting = suggestion
resharper_possible_multiple_enumeration_highlighting = suggestion
resharper_possible_unintended_reference_comparison_highlighting = suggestion
resharper_private_field_can_be_converted_to_local_variable_highlighting = suggestion
resharper_razor_section_not_resolved_highlighting = warning
resharper_redundant_argument_default_value_highlighting = suggestion
resharper_redundant_assignment_highlighting = suggestion
resharper_redundant_default_member_initializer_highlighting = suggestion
resharper_redundant_disable_warning_comment_highlighting = hint
resharper_redundant_empty_switch_section_highlighting = none
resharper_redundant_extends_list_entry_highlighting = suggestion
resharper_route_templates_route_token_not_resolved_highlighting = none
resharper_suggest_base_type_for_parameter_in_constructor_highlighting = none
resharper_suggest_var_or_type_built_in_types_highlighting = hint
resharper_suggest_var_or_type_elsewhere_highlighting = hint
resharper_suggest_var_or_type_simple_types_highlighting = hint
resharper_unity_inefficient_multiplication_order_highlighting = none
resharper_unity_inefficient_property_access_highlighting = none
resharper_unused_auto_property_accessor_global_highlighting = none
resharper_unused_auto_property_accessor_local_highlighting = suggestion
resharper_unused_method_return_value_local_highlighting = suggestion
resharper_unused_parameter_local_highlighting = suggestion
resharper_unused_type_local_highlighting = none # Default: suggestion
resharper_unused_variable_highlighting = suggestion
resharper_useless_binary_operation_highlighting = suggestion
resharper_web_config_module_not_resolved_highlighting = warning
resharper_web_config_type_not_resolved_highlighting = warning
resharper_web_config_wrong_module_highlighting = warning
resharper_with_expression_modifies_all_members_highlighting = none
[*.{yml,yaml}]
indent_style = space
indent_size = 2