-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
212 lines (208 loc) · 12.2 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
203
204
205
206
207
208
209
210
211
212
[*]
charset = utf-8-bom
end_of_line = crlf
trim_trailing_whitespace = false
insert_final_newline = false
indent_style = space
indent_size = 4
# Microsoft .NET properties
csharp_preferred_modifier_order = protected, public, override, private, file, new, internal, static, extern, virtual, sealed, async, readonly, unsafe, volatile, abstract, required:suggestion
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.local_constants_rule.import_to_resharper = as_predefined
dotnet_naming_rule.local_constants_rule.severity = warning
dotnet_naming_rule.local_constants_rule.style = upper_camel_case_style
dotnet_naming_rule.local_constants_rule.symbols = local_constants_symbols
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_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_1
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.lower_camel_case_style_1.capitalization = camel_case
dotnet_naming_style.lower_camel_case_style_1.required_prefix = _
dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case
dotnet_naming_symbols.local_constants_symbols.applicable_accessibilities = *
dotnet_naming_symbols.local_constants_symbols.applicable_kinds = local
dotnet_naming_symbols.local_constants_symbols.required_modifiers = const
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_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_separate_import_directive_groups = true
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: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 = for_non_interface_members:suggestion
# ReSharper properties
resharper_align_multiline_argument = true
resharper_align_multiline_calls_chain = true
resharper_align_multiline_expression = true
resharper_align_multiline_extends_list = true
resharper_align_multiline_list_pattern = true
resharper_align_multiline_parameter = true
resharper_align_multline_type_parameter_constrains = true
resharper_align_multline_type_parameter_list = true
resharper_align_tuple_components = true
resharper_arguments_skip_single = true
resharper_autodetect_indent_settings = true
resharper_blank_lines_after_start_comment = 0
resharper_braces_for_for = required
resharper_braces_for_foreach = required
resharper_braces_for_ifelse = required
resharper_braces_for_while = required
resharper_braces_redundant = false
resharper_builtin_type_apply_to_native_integer = true
resharper_csharp_insert_final_newline = true
resharper_csharp_max_line_length = 121
resharper_csharp_outdent_commas = true
resharper_csharp_wrap_arguments_style = chop_if_long
resharper_csharp_wrap_before_binary_opsign = 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_formatter_off_tag = @formatter:off
resharper_formatter_on_tag = @formatter:on
resharper_formatter_tags_enabled = true
resharper_instance_members_qualify_declared_in =
resharper_keep_existing_arrangement = false
resharper_max_array_initializer_elements_on_line = 5
resharper_max_enum_members_on_line = 1
resharper_max_formal_parameters_on_line = 5
resharper_max_initializer_elements_on_line = 5
resharper_max_primary_constructor_parameters_on_line = 2
resharper_nested_ternary_style = expanded
resharper_place_record_field_attribute_on_same_line = true
resharper_show_autodetect_configure_formatting_tip = false
resharper_static_members_qualify_with = current_type
resharper_use_indent_from_vs = false
resharper_wrap_after_primary_constructor_declaration_lpar = false
resharper_wrap_array_initializer_style = chop_if_long
resharper_wrap_before_eq = true
resharper_wrap_before_extends_colon = true
resharper_wrap_before_type_parameter_langle = 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_list_pattern = chop_if_long
# ReSharper inspection severities
resharper_annotate_can_be_null_parameter_highlighting = warning
resharper_annotate_can_be_null_type_member_highlighting = warning
resharper_annotate_not_null_parameter_highlighting = warning
resharper_annotate_not_null_type_member_highlighting = warning
resharper_arrange_attributes_highlighting = suggestion
resharper_arrange_constructor_or_destructor_body_highlighting = suggestion
resharper_arrange_local_function_body_highlighting = suggestion
resharper_arrange_method_or_operator_body_highlighting = suggestion
resharper_arrange_missing_parentheses_highlighting = hint
resharper_arrange_redundant_parentheses_highlighting = hint
resharper_arrange_this_qualifier_highlighting = hint
resharper_arrange_type_member_modifiers_highlighting = hint
resharper_arrange_type_modifiers_highlighting = hint
resharper_async_void_method_highlighting = warning
resharper_auto_property_can_be_made_get_only_global_highlighting = none
resharper_bad_attribute_brackets_spaces_highlighting = hint
resharper_bad_braces_spaces_highlighting = hint
resharper_bad_child_statement_indent_highlighting = hint
resharper_bad_colon_spaces_highlighting = hint
resharper_bad_comma_spaces_highlighting = hint
resharper_bad_control_braces_indent_highlighting = hint
resharper_bad_declaration_braces_indent_highlighting = hint
resharper_bad_expression_braces_indent_highlighting = hint
resharper_bad_generic_brackets_spaces_highlighting = hint
resharper_bad_indent_highlighting = hint
resharper_bad_member_access_spaces_highlighting = hint
resharper_bad_namespace_braces_indent_highlighting = hint
resharper_bad_parens_spaces_highlighting = hint
resharper_bad_preprocessor_indent_highlighting = hint
resharper_bad_semicolon_spaces_highlighting = hint
resharper_bad_spaces_after_keyword_highlighting = hint
resharper_bad_square_brackets_spaces_highlighting = hint
resharper_bad_switch_braces_indent_highlighting = hint
resharper_bad_symbol_spaces_highlighting = hint
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
resharper_built_in_type_reference_style_highlighting = hint
resharper_class_can_be_sealed_global_highlighting = warning
resharper_class_can_be_sealed_local_highlighting = warning
resharper_class_never_instantiated_global_highlighting = none
resharper_compare_non_constrained_generic_with_null_highlighting = warning
resharper_convert_to_constant_global_highlighting = suggestion
resharper_convert_to_constant_local_highlighting = suggestion
resharper_convert_to_primary_constructor_highlighting = none
resharper_enforce_do_while_statement_braces_highlighting = suggestion
resharper_enforce_fixed_statement_braces_highlighting = suggestion
resharper_enforce_foreach_statement_braces_highlighting = suggestion
resharper_enforce_for_statement_braces_highlighting = suggestion
resharper_enforce_if_statement_braces_highlighting = suggestion
resharper_enforce_lock_statement_braces_highlighting = suggestion
resharper_enforce_using_statement_braces_highlighting = suggestion
resharper_enforce_while_statement_braces_highlighting = suggestion
resharper_event_never_subscribed_to_global_highlighting = none
resharper_function_complexity_overflow_highlighting = warning
resharper_incorrect_blank_lines_near_braces_highlighting = hint
resharper_lambda_expression_can_be_made_static_highlighting = suggestion
resharper_loop_can_be_partly_converted_to_query_highlighting = suggestion
resharper_member_can_be_made_static_global_highlighting = none
resharper_member_can_be_made_static_local_highlighting = suggestion
resharper_member_can_be_private_global_highlighting = none
resharper_merge_into_pattern_highlighting = none
resharper_missing_blank_lines_highlighting = hint
resharper_missing_indent_highlighting = hint
resharper_missing_space_highlighting = hint
resharper_multiple_spaces_highlighting = hint
resharper_outdent_is_off_prev_level_highlighting = hint
resharper_parameter_type_can_be_enumerable_global_highlighting = none
resharper_parameter_type_can_be_enumerable_local_highlighting = none
resharper_property_can_be_made_init_only_global_highlighting = none
resharper_redundant_base_qualifier_highlighting = warning
resharper_redundant_blank_lines_highlighting = hint
resharper_redundant_enum_case_label_for_default_section_highlighting = warning
resharper_redundant_space_highlighting = hint
resharper_return_type_can_be_enumerable_global_highlighting = none
resharper_return_type_can_be_enumerable_local_highlighting = none
resharper_separate_control_transfer_statement_highlighting = suggestion
resharper_struct_member_can_be_made_read_only_highlighting = warning
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_switch_expression_handles_some_known_enum_values_with_exception_in_default_highlighting = none
resharper_switch_statement_handles_some_known_enum_values_with_default_highlighting = none
resharper_switch_statement_missing_some_enum_cases_no_default_highlighting = warning
resharper_tabs_and_spaces_mismatch_highlighting = hint
resharper_tabs_outside_indent_highlighting = hint
resharper_unnecessary_whitespace_highlighting = hint
resharper_use_configure_await_false_for_async_disposable_highlighting = warning
resharper_use_nameof_expression_for_part_of_the_string_highlighting = suggestion
resharper_use_positional_deconstruction_pattern_highlighting = suggestion
resharper_use_throw_if_null_method_highlighting = warning
resharper_web_config_module_not_resolved_highlighting = warning
resharper_web_config_type_not_resolved_highlighting = warning
resharper_web_config_wrong_module_highlighting = warning
resharper_wrong_indent_size_highlighting = hint
# CS8524: The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value.
dotnet_diagnostic.CS8524.severity = none