147 lines
8.8 KiB
INI
147 lines
8.8 KiB
INI
[*]
|
|
charset = utf-8-bom
|
|
end_of_line = crlf
|
|
trim_trailing_whitespace = false
|
|
insert_final_newline = false
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
# Microsoft .NET properties
|
|
csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion
|
|
csharp_style_prefer_utf8_string_literals = true:suggestion
|
|
csharp_style_var_elsewhere = true:suggestion
|
|
csharp_style_var_for_built_in_types = true:suggestion
|
|
csharp_style_var_when_type_is_apparent = true:suggestion
|
|
dotnet_naming_rule.interfaces_rule.import_to_resharper = True
|
|
dotnet_naming_rule.interfaces_rule.resharper_description = Interfaces
|
|
dotnet_naming_rule.interfaces_rule.resharper_guid = a7a3339e-4e89-4319-9735-a9dc4cb74cc7
|
|
dotnet_naming_rule.interfaces_rule.severity = warning
|
|
dotnet_naming_rule.interfaces_rule.style = i_upper_camel_case_style
|
|
dotnet_naming_rule.interfaces_rule.symbols = interfaces_symbols
|
|
dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True
|
|
dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field
|
|
dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
|
|
dotnet_naming_rule.unity_serialized_field_rule.severity = warning
|
|
dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style
|
|
dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.import_to_resharper = True
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.resharper_description = Unity serialized field
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.severity = warning
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.style = lower_camel_case_style
|
|
dotnet_naming_rule.unity_serialized_field_rule_1.symbols = unity_serialized_field_symbols_1
|
|
dotnet_naming_rule.unity_serialized_field_rule_2.import_to_resharper = True
|
|
dotnet_naming_rule.unity_serialized_field_rule_2.resharper_description = Unity serialized field
|
|
dotnet_naming_rule.unity_serialized_field_rule_2.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
|
|
dotnet_naming_rule.unity_serialized_field_rule_2.severity = warning
|
|
dotnet_naming_rule.unity_serialized_field_rule_2.style = lower_camel_case_style
|
|
dotnet_naming_rule.unity_serialized_field_rule_2.symbols = unity_serialized_field_symbols_2
|
|
dotnet_naming_style.i_upper_camel_case_style.capitalization = pascal_case
|
|
dotnet_naming_style.i_upper_camel_case_style.required_prefix = I
|
|
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
|
|
dotnet_naming_symbols.interfaces_symbols.applicable_accessibilities = *
|
|
dotnet_naming_symbols.interfaces_symbols.applicable_kinds = interface
|
|
dotnet_naming_symbols.interfaces_symbols.resharper_applicable_kinds = interface
|
|
dotnet_naming_symbols.interfaces_symbols.resharper_required_modifiers = any
|
|
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
|
|
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
|
|
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field
|
|
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_1.applicable_accessibilities = *
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_1.applicable_kinds =
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_1.resharper_applicable_kinds = unity_serialised_field
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_1.resharper_required_modifiers = instance
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_2.applicable_accessibilities = *
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_2.applicable_kinds =
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_2.resharper_applicable_kinds = unity_serialised_field
|
|
dotnet_naming_symbols.unity_serialized_field_symbols_2.resharper_required_modifiers = instance
|
|
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
|
|
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
|
|
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
|
|
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
|
|
dotnet_style_predefined_type_for_member_access = true:suggestion
|
|
dotnet_style_qualification_for_event = false:suggestion
|
|
dotnet_style_qualification_for_field = false:suggestion
|
|
dotnet_style_qualification_for_method = false:suggestion
|
|
dotnet_style_qualification_for_property = false:suggestion
|
|
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
|
|
|
|
# ReSharper properties
|
|
resharper_align_linq_query = true
|
|
resharper_autodetect_indent_settings = true
|
|
resharper_braces_for_for = required
|
|
resharper_braces_for_foreach = required
|
|
resharper_braces_for_ifelse = required
|
|
resharper_braces_for_while = required
|
|
resharper_cpp_insert_final_newline = true
|
|
resharper_csharp_empty_block_style = together_same_line
|
|
resharper_csharp_int_align_comments = true
|
|
resharper_csharp_wrap_after_declaration_lpar = true
|
|
resharper_csharp_wrap_after_invocation_lpar = true
|
|
resharper_csharp_wrap_arguments_style = chop_if_long
|
|
resharper_csharp_wrap_before_declaration_rpar = true
|
|
resharper_csharp_wrap_before_invocation_rpar = true
|
|
resharper_csharp_wrap_parameters_style = chop_if_long
|
|
resharper_formatter_off_tag = @formatter:off
|
|
resharper_formatter_on_tag = @formatter:on
|
|
resharper_formatter_tags_enabled = true
|
|
resharper_keep_existing_expr_member_arrangement = false
|
|
resharper_keep_existing_initializer_arrangement = false
|
|
resharper_keep_existing_linebreaks = false
|
|
resharper_place_field_attribute_on_same_line = if_owner_is_single_line
|
|
resharper_place_method_attribute_on_same_line = if_owner_is_single_line
|
|
resharper_show_autodetect_configure_formatting_tip = false
|
|
resharper_use_indent_from_vs = false
|
|
resharper_wrap_before_primary_constructor_declaration_rpar = true
|
|
resharper_wrap_chained_method_calls = chop_always
|
|
|
|
# ReSharper inspection severities
|
|
resharper_arrange_redundant_parentheses_highlighting = hint
|
|
resharper_arrange_this_qualifier_highlighting = hint
|
|
resharper_arrange_type_member_modifiers_highlighting = hint
|
|
resharper_arrange_type_modifiers_highlighting = hint
|
|
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
|
|
resharper_built_in_type_reference_style_highlighting = hint
|
|
resharper_enforce_do_while_statement_braces_highlighting = warning
|
|
resharper_enforce_fixed_statement_braces_highlighting = warning
|
|
resharper_enforce_foreach_statement_braces_highlighting = warning
|
|
resharper_enforce_for_statement_braces_highlighting = warning
|
|
resharper_enforce_if_statement_braces_highlighting = warning
|
|
resharper_enforce_lock_statement_braces_highlighting = warning
|
|
resharper_enforce_using_statement_braces_highlighting = warning
|
|
resharper_enforce_while_statement_braces_highlighting = warning
|
|
resharper_mvc_action_not_resolved_highlighting = warning
|
|
resharper_mvc_area_not_resolved_highlighting = warning
|
|
resharper_mvc_controller_not_resolved_highlighting = warning
|
|
resharper_mvc_masterpage_not_resolved_highlighting = warning
|
|
resharper_mvc_partial_view_not_resolved_highlighting = warning
|
|
resharper_mvc_template_not_resolved_highlighting = warning
|
|
resharper_mvc_view_component_not_resolved_highlighting = warning
|
|
resharper_mvc_view_component_view_not_resolved_highlighting = warning
|
|
resharper_mvc_view_not_resolved_highlighting = warning
|
|
resharper_razor_assembly_not_resolved_highlighting = warning
|
|
resharper_redundant_base_qualifier_highlighting = warning
|
|
resharper_suggest_var_or_type_built_in_types_highlighting = hint
|
|
resharper_suggest_var_or_type_elsewhere_highlighting = hint
|
|
resharper_suggest_var_or_type_simple_types_highlighting = hint
|
|
resharper_web_config_module_not_resolved_highlighting = warning
|
|
resharper_web_config_type_not_resolved_highlighting = warning
|
|
resharper_web_config_wrong_module_highlighting = warning
|
|
|
|
[{*.yaml,*.yml}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[{tsconfig.app.json,tsconfig.base.json,tsconfig.e2e.json,tsconfig.editor.json,tsconfig.json,tsconfig.lib.json,tsconfig.spec.json,tsconfig.test.json}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[{*.har,*.jsb2,*.jsb3,*.json,*.jsonc,*.postman_collection,*.postman_collection.json,*.postman_environment,*.postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,.ws-context,jest.config}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[*.{appxmanifest,asax,ascx,aspx,axaml,blockshader,c,c++,c++m,cc,ccm,cginc,compute,cp,cpp,cppm,cs,cshtml,cu,cuh,cxx,cxxm,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,h++,hh,hlsl,hlsli,hlslinc,hp,hpp,hxx,icc,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,mxx,nuspec,paml,pssl,pssli,razor,resw,resx,shader,shaderFoundry,skin,tcc,tpp,urtshader,usf,ush,uxml,vb,xaml,xamlx,xoml,xsd}]
|
|
indent_style = space
|
|
indent_size = 4
|
|
tab_width = 4
|