|
| 1 | + |
| 2 | +[*.proto] |
| 3 | +indent_style = tab |
| 4 | +indent_size = tab |
| 5 | +tab_width = 4 |
| 6 | + |
| 7 | +[*.{asax,ascx,aspx,axaml,cs,cshtml,css,htm,html,js,jsx,master,paml,razor,skin,ts,tsx,vb,xaml,xamlx,xoml}] |
| 8 | +indent_style = space |
| 9 | +indent_size = 4 |
| 10 | +tab_width = 4 |
| 11 | + |
| 12 | +[*.{appxmanifest,axml,build,config,csproj,dbml,discomap,dtd,json,jsproj,lsproj,njsproj,nuspec,proj,props,resjson,resw,resx,StyleCop,targets,tasks,vbproj,xml,xsd}] |
| 13 | +indent_style = space |
| 14 | +indent_size = 2 |
| 15 | +tab_width = 2 |
| 16 | + |
| 17 | +[*] |
| 18 | + |
| 19 | +# Microsoft .NET properties |
| 20 | +csharp_new_line_before_members_in_object_initializers = false |
| 21 | +csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion |
| 22 | +csharp_style_var_elsewhere = true:suggestion |
| 23 | +csharp_style_var_for_built_in_types = true:suggestion |
| 24 | +csharp_style_var_when_type_is_apparent = true:suggestion |
| 25 | +dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none |
| 26 | +dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:none |
| 27 | +dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none |
| 28 | +dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion |
| 29 | +dotnet_style_predefined_type_for_member_access = true:suggestion |
| 30 | +dotnet_style_qualification_for_event = false:suggestion |
| 31 | +dotnet_style_qualification_for_field = false:suggestion |
| 32 | +dotnet_style_qualification_for_method = false:suggestion |
| 33 | +dotnet_style_qualification_for_property = false:suggestion |
| 34 | +dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion |
| 35 | + |
| 36 | +# ReSharper properties |
| 37 | +resharper_braces_for_for = required |
| 38 | +resharper_braces_for_foreach = required |
| 39 | +resharper_braces_for_ifelse = required |
| 40 | +resharper_braces_for_while = required |
| 41 | +resharper_csharp_empty_block_style = together_same_line |
| 42 | +resharper_csharp_wrap_after_declaration_lpar = true |
| 43 | +resharper_csharp_wrap_parameters_style = chop_if_long |
| 44 | +resharper_local_function_body = expression_body |
| 45 | +resharper_method_or_operator_body = expression_body |
| 46 | +resharper_place_field_attribute_on_same_line = false |
| 47 | + |
| 48 | +# ReSharper inspection severities |
| 49 | +resharper_arrange_redundant_parentheses_highlighting = hint |
| 50 | +resharper_arrange_this_qualifier_highlighting = hint |
| 51 | +resharper_arrange_type_member_modifiers_highlighting = hint |
| 52 | +resharper_arrange_type_modifiers_highlighting = hint |
| 53 | +resharper_built_in_type_reference_style_for_member_access_highlighting = hint |
| 54 | +resharper_built_in_type_reference_style_highlighting = hint |
| 55 | +resharper_class_never_instantiated_global_highlighting = none |
| 56 | +resharper_redundant_base_qualifier_highlighting = warning |
| 57 | +resharper_redundant_extends_list_entry_highlighting = none |
| 58 | +resharper_suggest_var_or_type_built_in_types_highlighting = hint |
| 59 | +resharper_suggest_var_or_type_elsewhere_highlighting = hint |
| 60 | +resharper_suggest_var_or_type_simple_types_highlighting = hint |
0 commit comments