|
| 1 | +root = true |
| 2 | + |
| 3 | +[*] |
| 4 | +charset = utf-8 |
| 5 | +end_of_line = crlf |
| 6 | +trim_trailing_whitespace = false |
| 7 | +insert_final_newline = false |
| 8 | +indent_style = space |
| 9 | +indent_size = 4 |
| 10 | + |
| 11 | +# Microsoft .NET properties |
| 12 | +csharp_new_line_before_open_brace = types |
| 13 | +csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion |
| 14 | +csharp_prefer_braces = true:suggestion |
| 15 | +csharp_style_prefer_utf8_string_literals = true:suggestion |
| 16 | +csharp_style_var_elsewhere = true:suggestion |
| 17 | +csharp_style_var_for_built_in_types = true:suggestion |
| 18 | +csharp_style_var_when_type_is_apparent = true:suggestion |
| 19 | +dotnet_naming_rule.private_constants_rule.import_to_resharper = as_predefined |
| 20 | +dotnet_naming_rule.private_constants_rule.severity = warning |
| 21 | +dotnet_naming_rule.private_constants_rule.style = upper_camel_case_style |
| 22 | +dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols |
| 23 | +dotnet_naming_rule.private_instance_fields_rule.import_to_resharper = as_predefined |
| 24 | +dotnet_naming_rule.private_instance_fields_rule.severity = warning |
| 25 | +dotnet_naming_rule.private_instance_fields_rule.style = lower_camel_case_style |
| 26 | +dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols |
| 27 | +dotnet_naming_rule.private_static_fields_rule.import_to_resharper = as_predefined |
| 28 | +dotnet_naming_rule.private_static_fields_rule.severity = warning |
| 29 | +dotnet_naming_rule.private_static_fields_rule.style = lower_camel_case_style |
| 30 | +dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols |
| 31 | +dotnet_naming_rule.private_static_readonly_rule.import_to_resharper = as_predefined |
| 32 | +dotnet_naming_rule.private_static_readonly_rule.severity = warning |
| 33 | +dotnet_naming_rule.private_static_readonly_rule.style = lower_camel_case_style |
| 34 | +dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols |
| 35 | +dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True |
| 36 | +dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field |
| 37 | +dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef |
| 38 | +dotnet_naming_rule.unity_serialized_field_rule.severity = warning |
| 39 | +dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style |
| 40 | +dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols |
| 41 | +dotnet_naming_style.lower_camel_case_style.capitalization = camel_case |
| 42 | +dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case |
| 43 | +dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private |
| 44 | +dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field |
| 45 | +dotnet_naming_symbols.private_constants_symbols.required_modifiers = const |
| 46 | +dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = private |
| 47 | +dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field |
| 48 | +dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private |
| 49 | +dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field |
| 50 | +dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static |
| 51 | +dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private |
| 52 | +dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field |
| 53 | +dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static, readonly |
| 54 | +dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = * |
| 55 | +dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds = |
| 56 | +dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field |
| 57 | +dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance |
| 58 | +dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none |
| 59 | +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none |
| 60 | +dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none |
| 61 | +dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion |
| 62 | +dotnet_style_predefined_type_for_member_access = true:suggestion |
| 63 | +dotnet_style_qualification_for_event = false:suggestion |
| 64 | +dotnet_style_qualification_for_field = false:suggestion |
| 65 | +dotnet_style_qualification_for_method = false:suggestion |
| 66 | +dotnet_style_qualification_for_property = false:suggestion |
| 67 | +dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion |
| 68 | + |
| 69 | +# ReSharper properties |
| 70 | +resharper_align_multiline_binary_expressions_chain = false |
| 71 | +resharper_align_multiline_statement_conditions = false |
| 72 | +resharper_autodetect_indent_settings = true |
| 73 | +resharper_csharp_allow_far_alignment = true |
| 74 | +resharper_csharp_empty_block_style = together_same_line |
| 75 | +resharper_csharp_insert_final_newline = true |
| 76 | +resharper_csharp_stick_comment = false |
| 77 | +resharper_csharp_wrap_after_declaration_lpar = true |
| 78 | +resharper_csharp_wrap_after_invocation_lpar = true |
| 79 | +resharper_csharp_wrap_arguments_style = chop_if_long |
| 80 | +resharper_csharp_wrap_before_declaration_rpar = true |
| 81 | +resharper_csharp_wrap_before_invocation_rpar = true |
| 82 | +resharper_csharp_wrap_extends_list_style = chop_if_long |
| 83 | +resharper_csharp_wrap_parameters_style = chop_if_long |
| 84 | +resharper_formatter_off_tag = @formatter:off |
| 85 | +resharper_formatter_on_tag = @formatter:on |
| 86 | +resharper_formatter_tags_enabled = true |
| 87 | +resharper_indent_braces_inside_statement_conditions = false |
| 88 | +resharper_indent_nested_fixed_stmt = true |
| 89 | +resharper_indent_nested_foreach_stmt = true |
| 90 | +resharper_indent_nested_for_stmt = true |
| 91 | +resharper_indent_nested_lock_stmt = true |
| 92 | +resharper_indent_nested_usings_stmt = true |
| 93 | +resharper_indent_nested_while_stmt = true |
| 94 | +resharper_keep_existing_declaration_parens_arrangement = false |
| 95 | +resharper_keep_existing_embedded_arrangement = false |
| 96 | +resharper_keep_existing_expr_member_arrangement = false |
| 97 | +resharper_keep_existing_initializer_arrangement = false |
| 98 | +resharper_keep_existing_invocation_parens_arrangement = false |
| 99 | +resharper_keep_existing_list_patterns_arrangement = false |
| 100 | +resharper_keep_existing_property_patterns_arrangement = false |
| 101 | +resharper_keep_existing_switch_expression_arrangement = false |
| 102 | +resharper_new_line_before_while = true |
| 103 | +resharper_place_accessorholder_attribute_on_same_line = false |
| 104 | +resharper_place_accessor_attribute_on_same_line = false |
| 105 | +resharper_place_field_attribute_on_same_line = false |
| 106 | +resharper_place_record_field_attribute_on_same_line = true |
| 107 | +resharper_place_simple_accessor_on_single_line = false |
| 108 | +resharper_place_simple_anonymousmethod_on_single_line = false |
| 109 | +resharper_place_simple_embedded_statement_on_same_line = false |
| 110 | +resharper_place_simple_initializer_on_single_line = false |
| 111 | +resharper_place_simple_list_pattern_on_single_line = false |
| 112 | +resharper_place_simple_property_pattern_on_single_line = false |
| 113 | +resharper_show_autodetect_configure_formatting_tip = false |
| 114 | +resharper_use_indent_from_vs = false |
| 115 | +resharper_wrap_array_initializer_style = chop_if_long |
| 116 | +resharper_wrap_chained_binary_expressions = chop_if_long |
| 117 | +resharper_wrap_chained_binary_patterns = chop_if_long |
| 118 | +resharper_wrap_chained_method_calls = chop_if_long |
| 119 | +resharper_wrap_list_pattern = chop_if_long |
| 120 | + |
| 121 | +# ReSharper inspection severities |
| 122 | +resharper_arrange_accessor_owner_body_highlighting = hint |
| 123 | +resharper_arrange_attributes_highlighting = hint |
| 124 | +resharper_arrange_constructor_or_destructor_body_highlighting = hint |
| 125 | +resharper_arrange_default_value_when_type_evident_highlighting = hint |
| 126 | +resharper_arrange_local_function_body_highlighting = hint |
| 127 | +resharper_arrange_method_or_operator_body_highlighting = hint |
| 128 | +resharper_arrange_modifiers_order_highlighting = hint |
| 129 | +resharper_arrange_object_creation_when_type_evident_highlighting = hint |
| 130 | +resharper_arrange_this_qualifier_highlighting = hint |
| 131 | +resharper_arrange_type_member_modifiers_highlighting = hint |
| 132 | +resharper_arrange_type_modifiers_highlighting = hint |
| 133 | +resharper_arrange_var_keywords_in_deconstructing_declaration_highlighting = hint |
| 134 | +resharper_built_in_type_reference_style_for_member_access_highlighting = hint |
| 135 | +resharper_built_in_type_reference_style_highlighting = hint |
| 136 | +resharper_enforce_do_while_statement_braces_highlighting = hint |
| 137 | +resharper_enforce_fixed_statement_braces_highlighting = hint |
| 138 | +resharper_enforce_foreach_statement_braces_highlighting = hint |
| 139 | +resharper_enforce_for_statement_braces_highlighting = hint |
| 140 | +resharper_enforce_if_statement_braces_highlighting = hint |
| 141 | +resharper_enforce_lock_statement_braces_highlighting = hint |
| 142 | +resharper_enforce_using_statement_braces_highlighting = hint |
| 143 | +resharper_enforce_while_statement_braces_highlighting = hint |
| 144 | +resharper_redundant_base_qualifier_highlighting = warning |
| 145 | +resharper_remove_redundant_braces_highlighting = hint |
| 146 | +resharper_suggest_var_or_type_built_in_types_highlighting = hint |
| 147 | +resharper_suggest_var_or_type_elsewhere_highlighting = hint |
| 148 | +resharper_suggest_var_or_type_simple_types_highlighting = hint |
| 149 | +resharper_web_config_module_not_resolved_highlighting = warning |
| 150 | +resharper_web_config_type_not_resolved_highlighting = warning |
| 151 | +resharper_web_config_wrong_module_highlighting = warning |
| 152 | + |
| 153 | +[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}] |
| 154 | +indent_style = space |
| 155 | +indent_size = 2 |
| 156 | +csharp_space_around_binary_operators = before_and_after |
| 157 | +csharp_prefer_simple_using_statement = true:suggestion |
| 158 | +csharp_style_namespace_declarations = block_scoped:silent |
| 159 | +csharp_style_prefer_method_group_conversion = true:silent |
| 160 | +csharp_style_prefer_top_level_statements = true:silent |
| 161 | +csharp_style_prefer_primary_constructors = true:suggestion |
| 162 | +csharp_style_prefer_switch_expression = true:suggestion |
| 163 | +csharp_style_prefer_pattern_matching = true:silent |
| 164 | +csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion |
| 165 | +csharp_style_pattern_matching_over_as_with_null_check = true:suggestion |
| 166 | +csharp_style_prefer_not_pattern = true:suggestion |
| 167 | +csharp_style_prefer_extended_property_pattern = true:suggestion |
| 168 | +csharp_indent_labels = one_less_than_current |
| 169 | + |
| 170 | +[*.{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,cc,cginc,compute,cp,cpp,cppm,cs,cshtml,cu,cuh,cxx,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,nuspec,paml,razor,resw,resx,shader,skin,tpp,usf,ush,vb,xaml,xamlx,xoml,xsd}] |
| 171 | +indent_style = tab |
| 172 | +indent_size = 4 |
| 173 | +tab_width = 4 |
| 174 | +dotnet_style_operator_placement_when_wrapping = beginning_of_line |
| 175 | +dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent |
| 176 | +dotnet_code_quality_unused_parameters = all:suggestion |
0 commit comments