2017-12-24 20:07:29 +00:00
|
|
|
[*]
|
2022-03-06 22:52:10 +00:00
|
|
|
charset = utf-8
|
2022-03-06 22:58:47 +00:00
|
|
|
end_of_line = lf
|
|
|
|
|
trim_trailing_whitespace = false
|
2022-03-06 22:52:10 +00:00
|
|
|
insert_final_newline = false
|
|
|
|
|
indent_style = space
|
|
|
|
|
indent_size = 4
|
2017-12-24 20:07:29 +00:00
|
|
|
|
2022-03-06 22:58:47 +00:00
|
|
|
# Microsoft .NET properties
|
|
|
|
|
csharp_new_line_between_query_expression_clauses = false
|
|
|
|
|
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
|
|
|
|
|
csharp_prefer_braces = false:warning
|
|
|
|
|
csharp_space_after_keywords_in_control_flow_statements = false
|
|
|
|
|
csharp_style_var_elsewhere = false:suggestion
|
|
|
|
|
csharp_style_var_for_built_in_types = false:suggestion
|
|
|
|
|
csharp_style_var_when_type_is_apparent = true:suggestion
|
|
|
|
|
csharp_using_directive_placement = inside_namespace:silent
|
|
|
|
|
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_rule.unity_serialized_field_rule_1.import_to_resharper = True
|
|
|
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.resharper_description = Unity serialized field
|
|
|
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
|
|
|
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.severity = warning
|
|
|
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.style = lower_camel_case_style
|
|
|
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.symbols = unity_serialized_field_symbols_1
|
|
|
|
|
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
|
|
|
|
|
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
|
2022-03-07 07:36:44 +00:00
|
|
|
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
|
2022-03-06 22:58:47 +00:00
|
|
|
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_naming_symbols.unity_serialized_field_symbols_1.applicable_accessibilities = *
|
2022-03-07 07:36:44 +00:00
|
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_1.applicable_kinds =
|
2022-03-06 22:58:47 +00:00
|
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_1.resharper_applicable_kinds = unity_serialised_field
|
|
|
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_1.resharper_required_modifiers = instance
|
|
|
|
|
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:warning
|
|
|
|
|
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:warning
|
|
|
|
|
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:warning
|
2022-03-06 22:52:10 +00:00
|
|
|
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
|
|
|
|
|
dotnet_style_predefined_type_for_member_access = true:suggestion
|
2022-03-06 22:58:47 +00:00
|
|
|
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
|
2022-03-06 22:52:10 +00:00
|
|
|
dotnet_style_require_accessibility_modifiers = never:suggestion
|
2019-11-03 01:41:49 +00:00
|
|
|
|
2022-03-06 22:58:47 +00:00
|
|
|
# ReSharper properties
|
|
|
|
|
resharper_align_first_arg_by_paren = true
|
|
|
|
|
resharper_align_linq_query = true
|
|
|
|
|
resharper_align_multiline_argument = true
|
|
|
|
|
resharper_align_multiline_binary_expressions_chain = 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_multiline_property_pattern = true
|
|
|
|
|
resharper_align_multiline_switch_expression = 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_attribute_indent = align_by_first_attribute
|
|
|
|
|
resharper_attribute_style = on_single_line
|
|
|
|
|
resharper_autodetect_indent_settings = true
|
|
|
|
|
resharper_constructor_or_destructor_body = expression_body
|
|
|
|
|
resharper_cpp_brace_style = next_line
|
|
|
|
|
resharper_csharp_outdent_commas = true
|
|
|
|
|
resharper_default_value_when_type_not_evident = default_expression
|
|
|
|
|
resharper_empty_block_style = together_same_line
|
|
|
|
|
resharper_force_attribute_style = join
|
|
|
|
|
resharper_force_chop_compound_do_expression = true
|
|
|
|
|
resharper_force_chop_compound_if_expression = true
|
|
|
|
|
resharper_force_chop_compound_while_expression = true
|
|
|
|
|
resharper_for_built_in_types = use_var_when_evident
|
|
|
|
|
resharper_fsharp_type_declaration_braces = next_line
|
|
|
|
|
resharper_indent_nested_fixed_stmt = true
|
|
|
|
|
resharper_indent_nested_foreach_stmt = true
|
|
|
|
|
resharper_indent_nested_for_stmt = true
|
|
|
|
|
resharper_indent_nested_lock_stmt = true
|
|
|
|
|
resharper_indent_nested_usings_stmt = true
|
|
|
|
|
resharper_indent_nested_while_stmt = true
|
|
|
|
|
resharper_indent_preprocessor_if = outdent
|
|
|
|
|
resharper_indent_preprocessor_other = usual_indent
|
|
|
|
|
resharper_indent_switch_labels = true
|
|
|
|
|
resharper_int_align_assignments = true
|
|
|
|
|
resharper_int_align_binary_expressions = true
|
|
|
|
|
resharper_int_align_comments = true
|
|
|
|
|
resharper_int_align_fields = true
|
|
|
|
|
resharper_int_align_methods = true
|
|
|
|
|
resharper_int_align_nested_ternary = 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_arrangement = false
|
|
|
|
|
resharper_keep_user_linebreaks = false
|
|
|
|
|
resharper_linebreak_before_all_elements = true
|
|
|
|
|
resharper_local_function_body = expression_body
|
|
|
|
|
resharper_max_blank_lines_between_tags = 0
|
|
|
|
|
resharper_max_enum_members_on_line = 1
|
|
|
|
|
resharper_method_or_operator_body = expression_body
|
|
|
|
|
resharper_nested_ternary_style = expanded
|
|
|
|
|
resharper_new_line_before_while = false
|
|
|
|
|
resharper_normalize_tag_names = true
|
|
|
|
|
resharper_outdent_binary_ops = true
|
|
|
|
|
resharper_outdent_binary_pattern_ops = true
|
|
|
|
|
resharper_outdent_dots = true
|
|
|
|
|
resharper_outdent_statement_labels = true
|
|
|
|
|
resharper_place_attribute_on_same_line = false
|
|
|
|
|
resharper_place_expr_accessor_on_single_line = true
|
|
|
|
|
resharper_place_expr_method_on_single_line = true
|
|
|
|
|
resharper_place_expr_property_on_single_line = true
|
|
|
|
|
resharper_place_linq_into_on_new_line = false
|
|
|
|
|
resharper_place_simple_anonymousmethod_on_single_line = false
|
|
|
|
|
resharper_place_simple_case_statement_on_same_line = true
|
|
|
|
|
resharper_place_simple_embedded_statement_on_same_line = false
|
|
|
|
|
resharper_place_simple_initializer_on_single_line = false
|
|
|
|
|
resharper_place_simple_switch_expression_on_single_line = true
|
|
|
|
|
resharper_prefer_explicit_discard_declaration = true
|
|
|
|
|
resharper_qualified_using_at_nested_scope = true
|
|
|
|
|
resharper_show_autodetect_configure_formatting_tip = false
|
|
|
|
|
resharper_sort_attributes = true
|
|
|
|
|
resharper_sort_class_selectors = true
|
|
|
|
|
resharper_space_after_keywords_in_control_flow_statements = false
|
|
|
|
|
resharper_space_after_last_pi_attribute = true
|
|
|
|
|
resharper_space_after_unary_operator = false
|
|
|
|
|
resharper_space_around_binary_operator = true
|
|
|
|
|
resharper_space_before_self_closing = true
|
|
|
|
|
resharper_space_within_empty_braces = false
|
|
|
|
|
resharper_stick_comment = false
|
|
|
|
|
resharper_use_indent_from_vs = false
|
|
|
|
|
resharper_wrap_after_dot_in_method_calls = true
|
|
|
|
|
resharper_wrap_before_first_type_parameter_constraint = true
|
|
|
|
|
resharper_wrap_before_type_parameter_langle = true
|
|
|
|
|
resharper_wrap_enum_declaration = wrap_if_long
|
|
|
|
|
resharper_wrap_for_stmt_header_style = wrap_if_long
|
|
|
|
|
resharper_wrap_lines = true
|
|
|
|
|
resharper_wrap_multiple_declaration_style = wrap_if_long
|
|
|
|
|
resharper_wrap_multiple_type_parameter_constraints_style = wrap_if_long
|
|
|
|
|
resharper_wrap_object_and_collection_initializer_style = chop_always
|
|
|
|
|
resharper_wrap_ternary_expr_style = wrap_if_long
|
|
|
|
|
resharper_wrap_verbatim_interpolated_strings = wrap_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 = hint
|
|
|
|
|
resharper_arrange_constructor_or_destructor_body_highlighting = warning
|
|
|
|
|
resharper_arrange_default_value_when_type_evident_highlighting = warning
|
|
|
|
|
resharper_arrange_default_value_when_type_not_evident_highlighting = warning
|
|
|
|
|
resharper_arrange_local_function_body_highlighting = warning
|
|
|
|
|
resharper_arrange_method_or_operator_body_highlighting = warning
|
|
|
|
|
resharper_arrange_object_creation_when_type_evident_highlighting = warning
|
|
|
|
|
resharper_arrange_object_creation_when_type_not_evident_highlighting = warning
|
|
|
|
|
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_built_in_type_reference_style_for_member_access_highlighting = hint
|
|
|
|
|
resharper_built_in_type_reference_style_highlighting = hint
|
|
|
|
|
resharper_compare_non_constrained_generic_with_null_highlighting = warning
|
|
|
|
|
resharper_heap_view_boxing_allocation_highlighting = none
|
|
|
|
|
resharper_heap_view_delegate_allocation_highlighting = none
|
|
|
|
|
resharper_heap_view_object_allocation_evident_highlighting = none
|
|
|
|
|
resharper_heap_view_object_allocation_highlighting = none
|
|
|
|
|
resharper_inheritdoc_consider_usage_highlighting = warning
|
|
|
|
|
resharper_local_function_can_be_made_static_highlighting = warning
|
|
|
|
|
resharper_loop_can_be_partly_converted_to_query_highlighting = warning
|
|
|
|
|
resharper_member_can_be_internal_highlighting = warning
|
|
|
|
|
resharper_nullable_warning_suppression_is_used_highlighting = warning
|
|
|
|
|
resharper_redundant_base_qualifier_highlighting = warning
|
|
|
|
|
resharper_remove_constructor_invocation_highlighting = warning
|
|
|
|
|
resharper_separate_control_transfer_statement_highlighting = warning
|
|
|
|
|
resharper_string_ends_with_is_culture_specific_highlighting = warning
|
|
|
|
|
resharper_string_starts_with_is_culture_specific_highlighting = warning
|
|
|
|
|
resharper_struct_member_can_be_made_read_only_highlighting = warning
|
|
|
|
|
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_tabs_are_disallowed_highlighting = warning
|
|
|
|
|
resharper_unnecessary_whitespace_highlighting = warning
|
|
|
|
|
resharper_use_nameof_expression_for_part_of_the_string_highlighting = warning
|
|
|
|
|
resharper_use_positional_deconstruction_pattern_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
|
|
|
|
|
|
|
|
|
|
[{*.har,*.inputactions,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}]
|
|
|
|
|
indent_style = space
|
|
|
|
|
indent_size = 2
|
2019-11-03 01:41:49 +00:00
|
|
|
|
2022-03-06 22:58:47 +00:00
|
|
|
[{*.yaml,*.yml,.analysis_options}]
|
|
|
|
|
indent_style = space
|
|
|
|
|
indent_size = 2
|
2019-11-03 01:41:49 +00:00
|
|
|
|
2022-03-06 22:58:47 +00:00
|
|
|
[*.csv]
|
|
|
|
|
indent_style = tab
|
|
|
|
|
tab_width = 1
|
2019-11-03 01:41:49 +00:00
|
|
|
|
2022-03-06 22:58:47 +00:00
|
|
|
[{*.bash,*.sh,*.tool,*.zsh}]
|
|
|
|
|
indent_style = space
|
|
|
|
|
indent_size = 2
|
2019-11-03 01:41:49 +00:00
|
|
|
|
2022-03-06 22:58:47 +00:00
|
|
|
[*.{appxmanifest,asax,ascx,aspx,axaml,build,cg,cginc,compute,cs,cshtml,dtd,fs,fsi,fsscript,fsx,hlsl,hlsli,hlslinc,master,ml,mli,nuspec,paml,razor,resw,resx,shader,skin,usf,ush,vb,xaml,xamlx,xoml,xsd}]
|
|
|
|
|
indent_style = space
|
|
|
|
|
indent_size = 4
|
|
|
|
|
tab_width = 4
|