|
| 1 | +[*] |
| 2 | +indent_style = space |
| 3 | +indent_size = 4 |
| 4 | +tab_width = 4 |
| 5 | +trim_trailing_whitespace = true |
| 6 | +insert_final_newline = true |
| 7 | +charset = utf-8 |
| 8 | +end_of_line = crlf |
| 9 | + |
| 10 | +resharper_csharp_brace_style = next_line |
| 11 | +resharper_csharp_braces_for_foreach = not_required |
| 12 | +resharper_csharp_braces_for_for = not_required |
| 13 | +resharper_csharp_braces_for_while = not_required |
| 14 | + |
| 15 | +# Microsoft .NET properties |
| 16 | +csharp_new_line_before_members_in_object_initializers = false |
| 17 | +csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion |
| 18 | +csharp_style_prefer_utf8_string_literals = true:suggestion |
| 19 | +csharp_style_var_elsewhere = true:suggestion |
| 20 | +csharp_style_var_for_built_in_types = true:suggestion |
| 21 | +csharp_style_var_when_type_is_apparent = true:suggestion |
| 22 | +dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True |
| 23 | +dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field |
| 24 | +dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef |
| 25 | +dotnet_naming_rule.unity_serialized_field_rule.severity = warning |
| 26 | +dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style |
| 27 | +dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols |
| 28 | +dotnet_naming_style.lower_camel_case_style.capitalization = camel_case |
| 29 | +dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = * |
| 30 | +dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds = |
| 31 | +dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field |
| 32 | +dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance |
| 33 | +dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none |
| 34 | +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none |
| 35 | +dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none |
| 36 | +dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion |
| 37 | +dotnet_style_predefined_type_for_member_access = true:suggestion |
| 38 | +dotnet_style_qualification_for_event = false:suggestion |
| 39 | +dotnet_style_qualification_for_field = false:suggestion |
| 40 | +dotnet_style_qualification_for_method = false:suggestion |
| 41 | +dotnet_style_qualification_for_property = false:suggestion |
| 42 | +dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion |
| 43 | + |
| 44 | +# ReSharper properties |
| 45 | +resharper_autodetect_indent_settings = true |
| 46 | +resharper_formatter_off_tag = @formatter:off |
| 47 | +resharper_formatter_on_tag = @formatter:on |
| 48 | +resharper_formatter_tags_enabled = true |
| 49 | +resharper_no_indent_inside_if_element_longer_than = 2147483647 |
| 50 | +resharper_trailing_comma_in_multiline_lists = true |
| 51 | +resharper_use_indent_from_vs = false |
| 52 | + |
| 53 | +# ReSharper inspection severities |
| 54 | +resharper_arrange_redundant_parentheses_highlighting = hint |
| 55 | +resharper_arrange_this_qualifier_highlighting = hint |
| 56 | +resharper_arrange_type_member_modifiers_highlighting = hint |
| 57 | +resharper_arrange_type_modifiers_highlighting = hint |
| 58 | +resharper_built_in_type_reference_style_for_member_access_highlighting = hint |
| 59 | +resharper_built_in_type_reference_style_highlighting = hint |
| 60 | +resharper_mvc_action_not_resolved_highlighting = warning |
| 61 | +resharper_mvc_area_not_resolved_highlighting = warning |
| 62 | +resharper_mvc_controller_not_resolved_highlighting = warning |
| 63 | +resharper_mvc_masterpage_not_resolved_highlighting = warning |
| 64 | +resharper_mvc_partial_view_not_resolved_highlighting = warning |
| 65 | +resharper_mvc_template_not_resolved_highlighting = warning |
| 66 | +resharper_mvc_view_component_not_resolved_highlighting = warning |
| 67 | +resharper_mvc_view_component_view_not_resolved_highlighting = warning |
| 68 | +resharper_mvc_view_not_resolved_highlighting = warning |
| 69 | +resharper_razor_assembly_not_resolved_highlighting = warning |
| 70 | +resharper_redundant_base_qualifier_highlighting = warning |
| 71 | +resharper_suggest_var_or_type_built_in_types_highlighting = hint |
| 72 | +resharper_suggest_var_or_type_elsewhere_highlighting = hint |
| 73 | +resharper_suggest_var_or_type_simple_types_highlighting = hint |
| 74 | +resharper_unnecessary_whitespace_highlighting = suggestion |
| 75 | +resharper_web_config_module_not_resolved_highlighting = warning |
| 76 | +resharper_web_config_type_not_resolved_highlighting = warning |
| 77 | +resharper_web_config_wrong_module_highlighting = warning |
| 78 | + |
| 79 | +[{*.json,*.jsonc,*.yml,*.yaml,*.proto}] |
| 80 | +indent_style = space |
| 81 | +indent_size = 2 |
0 commit comments