|
| 1 | +root = true |
| 2 | +# top-most EditorConfig file |
| 3 | + |
| 4 | +[*] |
| 5 | +charset = utf-8 |
| 6 | + |
| 7 | +end_of_line = lf |
| 8 | +insert_final_newline = true |
| 9 | + |
| 10 | +# 4 space indentation |
| 11 | +indent_style = space |
| 12 | +indent_size = 4 |
| 13 | + |
| 14 | +# disable redundant style warnings |
| 15 | + |
| 16 | +# Microsoft .NET properties |
| 17 | +csharp_indent_braces = false |
| 18 | +csharp_new_line_before_catch = false |
| 19 | +csharp_new_line_before_else = false |
| 20 | +csharp_new_line_before_finally = true |
| 21 | +csharp_new_line_before_members_in_object_initializers = false |
| 22 | +csharp_new_line_before_open_brace = none |
| 23 | +csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion |
| 24 | +csharp_prefer_braces = true:none |
| 25 | +csharp_space_before_colon_in_inheritance_clause = false |
| 26 | +csharp_style_var_elsewhere = true:suggestion |
| 27 | +csharp_style_var_for_built_in_types = true:suggestion |
| 28 | +csharp_style_var_when_type_is_apparent = true:suggestion |
| 29 | +dotnet_code_quality_unused_parameters = non_public |
| 30 | +dotnet_naming_rule.event_rule.severity = warning |
| 31 | +dotnet_naming_rule.event_rule.style = on_upper_camel_case_style |
| 32 | +dotnet_naming_rule.event_rule.symbols = event_symbols |
| 33 | +dotnet_naming_rule.private_constants_rule.severity = warning |
| 34 | +dotnet_naming_rule.private_constants_rule.style = upper_camel_case_style |
| 35 | +dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols |
| 36 | +dotnet_naming_rule.private_instance_fields_rule.severity = warning |
| 37 | +dotnet_naming_rule.private_instance_fields_rule.style = lower_camel_case_style |
| 38 | +dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols |
| 39 | +dotnet_naming_rule.private_static_fields_rule.severity = warning |
| 40 | +dotnet_naming_rule.private_static_fields_rule.style = upper_camel_case_style |
| 41 | +dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols |
| 42 | +dotnet_naming_rule.private_static_readonly_rule.severity = warning |
| 43 | +dotnet_naming_rule.private_static_readonly_rule.style = upper_camel_case_style |
| 44 | +dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols |
| 45 | +dotnet_naming_style.lower_camel_case_style.capitalization = camel_case |
| 46 | +dotnet_naming_style.on_upper_camel_case_style.capitalization = pascal_case |
| 47 | +dotnet_naming_style.on_upper_camel_case_style.required_prefix = On |
| 48 | +dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case |
| 49 | +dotnet_naming_symbols.event_symbols.applicable_accessibilities = * |
| 50 | +dotnet_naming_symbols.event_symbols.applicable_kinds = event |
| 51 | +dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private |
| 52 | +dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field |
| 53 | +dotnet_naming_symbols.private_constants_symbols.required_modifiers = const |
| 54 | +dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = private |
| 55 | +dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field |
| 56 | +dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private |
| 57 | +dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field |
| 58 | +dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static |
| 59 | +dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private |
| 60 | +dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field |
| 61 | +dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static, readonly |
| 62 | +dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:suggestion |
| 63 | +dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggestion |
| 64 | +dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:suggestion |
| 65 | +dotnet_style_predefined_type_for_member_access = true:suggestion |
| 66 | +dotnet_style_qualification_for_event = true:none |
| 67 | +dotnet_style_qualification_for_field = true:none |
| 68 | +dotnet_style_qualification_for_method = true:none |
| 69 | +dotnet_style_qualification_for_property = true:none |
| 70 | +dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion |
| 71 | +dotnet_style_parentheses_in_other_operators = always_for_clarity:silent |
| 72 | +dotnet_style_object_initializer = false |
| 73 | +csharp_space_between_method_call_empty_parameter_list_parentheses = false |
| 74 | +csharp_space_between_method_call_parameter_list_parentheses = false |
| 75 | +csharp_space_between_method_declaration_empty_parameter_list_parentheses = false |
| 76 | +csharp_space_between_empty_square_brackets = false |
| 77 | +csharp_space_before_semicolon_in_for_statement = false |
| 78 | +csharp_space_before_open_square_brackets = false |
| 79 | +csharp_space_before_comma = false |
| 80 | +csharp_space_after_keywords_in_control_flow_statements = true |
| 81 | +csharp_space_after_comma = true |
| 82 | +csharp_space_after_cast = false |
| 83 | +csharp_space_around_binary_operators = before_and_after |
| 84 | +csharp_space_between_method_declaration_name_and_open_parenthesis = false |
| 85 | +csharp_space_between_method_declaration_parameter_list_parentheses = false |
| 86 | +csharp_space_between_parentheses = none |
| 87 | +csharp_space_between_square_brackets = false |
| 88 | + |
| 89 | +# ReSharper properties |
| 90 | +resharper_align_linq_query = false |
| 91 | +resharper_align_multiline_argument = true |
| 92 | +resharper_align_multiline_binary_expressions_chain = false |
| 93 | +resharper_align_multiline_calls_chain = true |
| 94 | +resharper_align_multiline_expression = true |
| 95 | +resharper_align_multiline_extends_list = true |
| 96 | +resharper_align_multiline_for_stmt = true |
| 97 | +resharper_align_multiline_statement_conditions = false |
| 98 | +resharper_align_multline_type_parameter_constrains = false |
| 99 | +resharper_align_multline_type_parameter_list = false |
| 100 | +resharper_allow_comment_after_lbrace = true |
| 101 | +resharper_apply_on_completion = true |
| 102 | +resharper_auto_property_can_be_made_get_only_global_highlighting = none |
| 103 | +resharper_auto_property_can_be_made_get_only_local_highlighting = none |
| 104 | +resharper_autodetect_indent_settings = true |
| 105 | +resharper_braces_for_ifelse = required |
| 106 | +resharper_braces_redundant = true |
| 107 | +resharper_can_use_global_alias = false |
| 108 | +resharper_csharp_align_multiline_argument = false |
| 109 | +resharper_csharp_align_multiline_calls_chain = false |
| 110 | +resharper_csharp_align_multiline_expression = false |
| 111 | +resharper_csharp_align_multiline_extends_list = false |
| 112 | +resharper_csharp_align_multiline_for_stmt = false |
| 113 | +resharper_csharp_align_multiline_parameter = false |
| 114 | +resharper_csharp_align_multiple_declaration = false |
| 115 | +resharper_csharp_empty_block_style = together |
| 116 | +resharper_csharp_int_align_comments = false |
| 117 | +resharper_csharp_new_line_before_while = false |
| 118 | +resharper_csharp_space_before_type_parameter_constraint_colon = false |
| 119 | +resharper_csharp_wrap_after_declaration_lpar = true |
| 120 | +resharper_csharp_wrap_after_invocation_lpar = true |
| 121 | +resharper_csharp_wrap_arguments_style = chop_if_long |
| 122 | +resharper_csharp_wrap_before_binary_opsign = true |
| 123 | +resharper_csharp_wrap_before_declaration_rpar = true |
| 124 | +resharper_csharp_wrap_before_first_type_parameter_constraint = true |
| 125 | +resharper_csharp_wrap_before_invocation_rpar = true |
| 126 | +resharper_csharp_wrap_extends_list_style = chop_if_long |
| 127 | +resharper_csharp_wrap_parameters_style = chop_if_long |
| 128 | +resharper_enforce_line_ending_style = true |
| 129 | +resharper_int_align = false |
| 130 | +resharper_member_can_be_private_global_highlighting = none |
| 131 | +resharper_member_can_be_private_local_highlighting = none |
| 132 | +resharper_new_line_before_finally = false |
| 133 | +resharper_place_accessorholder_attribute_on_same_line = false |
| 134 | +resharper_place_field_attribute_on_same_line = false |
| 135 | +resharper_show_autodetect_configure_formatting_tip = false |
| 136 | +resharper_space_within_empty_braces = false |
| 137 | +resharper_trailing_comma_in_multiline_lists = true |
| 138 | +resharper_use_indent_from_vs = false |
| 139 | +resharper_wrap_array_initializer_style = chop_if_long |
| 140 | +resharper_wrap_before_extends_colon = true |
| 141 | +resharper_wrap_chained_binary_expressions = chop_if_long |
| 142 | +resharper_wrap_chained_binary_patterns = chop_if_long |
| 143 | +resharper_wrap_chained_method_calls = chop_if_long |
| 144 | +resharper_wrap_list_pattern = chop_if_long |
| 145 | + |
| 146 | +# ReSharper inspection severities |
| 147 | +resharper_arrange_missing_parentheses_highlighting = hint |
| 148 | +resharper_arrange_redundant_parentheses_highlighting = hint |
| 149 | +resharper_arrange_this_qualifier_highlighting = none |
| 150 | +resharper_arrange_type_member_modifiers_highlighting = hint |
| 151 | +resharper_arrange_type_modifiers_highlighting = hint |
| 152 | +resharper_built_in_type_reference_style_for_member_access_highlighting = hint |
| 153 | +resharper_built_in_type_reference_style_highlighting = none |
| 154 | +resharper_foreach_can_be_converted_to_query_using_another_get_enumerator_highlighting = none |
| 155 | +resharper_foreach_can_be_partly_converted_to_query_using_another_get_enumerator_highlighting = none |
| 156 | +resharper_invert_if_highlighting = none |
| 157 | +resharper_loop_can_be_converted_to_query_highlighting = none |
| 158 | +resharper_method_has_async_overload_highlighting = none |
| 159 | +resharper_private_field_can_be_converted_to_local_variable_highlighting = none |
| 160 | +resharper_redundant_base_qualifier_highlighting = none |
| 161 | +resharper_suggest_var_or_type_built_in_types_highlighting = hint |
| 162 | +resharper_suggest_var_or_type_elsewhere_highlighting = hint |
| 163 | +resharper_suggest_var_or_type_simple_types_highlighting = hint |
| 164 | +resharper_unused_auto_property_accessor_global_highlighting = none |
| 165 | +csharp_style_deconstructed_variable_declaration = true:silent |
| 166 | + |
| 167 | +[*.{appxmanifest,asax,ascx,aspx,axaml,axml,build,c,c++,cc,cginc,compute,config,cp,cpp,cs,cshtml,csproj,css,cu,cuh,cxx,dbml,discomap,dtd,h,hh,hlsl,hlsli,hlslinc,hpp,htm,html,hxx,inc,inl,ino,ipp,js,json,jsproj,jsx,lsproj,master,mpp,mq4,mq5,mqh,njsproj,nuspec,paml,proj,props,proto,razor,resjson,resw,resx,skin,StyleCop,targets,tasks,tpp,ts,tsx,usf,ush,vb,vbproj,xaml,xamlx,xml,xoml,xsd}] |
| 168 | +indent_style = space |
| 169 | +indent_size = 4 |
| 170 | +tab_width = 4 |
| 171 | +dotnet_style_parentheses_in_other_operators = always_for_clarity:silent |
| 172 | + |
| 173 | +[packages.lock.json] |
| 174 | +indent_size = 2 |
0 commit comments