|
| 1 | +root = true |
| 2 | + |
| 3 | +[*.{cs,csproj,config,json,xml,tpl,nuspec,resx,ps1}] |
| 4 | +indent_style=tab |
| 5 | +indent_size=tab |
| 6 | +tab_width=4 |
| 7 | + |
| 8 | +[*] |
| 9 | + |
| 10 | +# Microsoft .NET properties |
| 11 | +csharp_new_line_before_members_in_object_initializers=false |
| 12 | +csharp_preferred_modifier_order=public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion |
| 13 | +csharp_style_var_elsewhere=true:hint |
| 14 | +csharp_style_var_for_built_in_types=true:hint |
| 15 | +csharp_style_var_when_type_is_apparent=true:hint |
| 16 | +dotnet_style_predefined_type_for_locals_parameters_members=true:hint |
| 17 | +dotnet_style_predefined_type_for_member_access=true:hint |
| 18 | +dotnet_style_qualification_for_event=false:warning |
| 19 | +dotnet_style_qualification_for_field=false:warning |
| 20 | +dotnet_style_qualification_for_method=false:warning |
| 21 | +dotnet_style_qualification_for_property=false:warning |
| 22 | +dotnet_style_require_accessibility_modifiers=for_non_interface_members:hint |
| 23 | + |
| 24 | +# ReSharper properties |
| 25 | +resharper_csharp_max_line_length=150 |
| 26 | +resharper_force_control_statements_braces=only_for_multiline |
| 27 | +resharper_indent_switch_labels=true |
| 28 | +resharper_js_brace_style=next_line |
| 29 | +resharper_js_empty_block_style=together_same_line |
| 30 | +resharper_js_keep_blank_lines_in_code=1 |
| 31 | +resharper_js_stick_comment=false |
| 32 | +resharper_js_wrap_chained_method_calls=chop_if_long |
| 33 | +resharper_keep_blank_lines_between_declarations=1 |
| 34 | +resharper_min_blank_lines_after_imports=1 |
| 35 | +resharper_new_line_before_catch=true |
| 36 | +resharper_new_line_before_else=true |
| 37 | +resharper_new_line_before_finally=true |
| 38 | +resharper_new_line_before_while=true |
| 39 | +resharper_place_accessorholder_attribute_on_same_line=False |
| 40 | +resharper_simple_embedded_statement_style=line_break |
| 41 | +resharper_single_statement_function_style=line_break |
| 42 | +resharper_space_before_method_parentheses_anonymous=true |
| 43 | +resharper_space_within_empty_braces=false |
| 44 | +resharper_space_within_single_line_array_initializer_braces=true |
| 45 | +resharper_wrap_chained_binary_expressions=wrap_if_long |
| 46 | +resharper_xml_alignment_tab_fill_style=use_tabs_only |
| 47 | +resharper_xml_indent_style=tab |
| 48 | +resharper_xml_use_indent_from_vs=false |
0 commit comments