Update .editorconfig for Resharper/Rider to conform with StyleCop rules (#1534)

This commit is contained in:
srkizer 2023-11-27 06:55:43 +09:00 committed by GitHub
parent a80ab30b4c
commit a6ea4aa56a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,7 @@ dotnet_naming_symbols.private_static_fields_symbols.required_modifiers = static
dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities = private
dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds = field
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static,readonly dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static,readonly
dotnet_separate_import_directive_groups = true
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:suggestion dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:suggestion
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggestion dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggestion
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:suggestion dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:suggestion
@ -97,6 +98,7 @@ resharper_apply_on_completion = true
resharper_auto_property_can_be_made_get_only_global_highlighting = none resharper_auto_property_can_be_made_get_only_global_highlighting = none
resharper_auto_property_can_be_made_get_only_local_highlighting = none resharper_auto_property_can_be_made_get_only_local_highlighting = none
resharper_autodetect_indent_settings = true resharper_autodetect_indent_settings = true
resharper_blank_lines_around_single_line_auto_property = 1
resharper_braces_for_ifelse = required_for_multiline resharper_braces_for_ifelse = required_for_multiline
resharper_can_use_global_alias = false resharper_can_use_global_alias = false
resharper_csharp_align_multiline_parameter = true resharper_csharp_align_multiline_parameter = true
@ -105,14 +107,22 @@ resharper_csharp_empty_block_style = multiline
resharper_csharp_int_align_comments = true resharper_csharp_int_align_comments = true
resharper_csharp_new_line_before_while = true resharper_csharp_new_line_before_while = true
resharper_csharp_wrap_after_declaration_lpar = true resharper_csharp_wrap_after_declaration_lpar = true
resharper_csharp_wrap_after_invocation_lpar = true
resharper_csharp_wrap_arguments_style = chop_if_long
resharper_enforce_line_ending_style = true resharper_enforce_line_ending_style = true
resharper_instance_members_qualify_declared_in = this_class, base_class
resharper_member_can_be_private_global_highlighting = none resharper_member_can_be_private_global_highlighting = none
resharper_member_can_be_private_local_highlighting = none resharper_member_can_be_private_local_highlighting = none
resharper_new_line_before_finally = false resharper_new_line_before_finally = true
resharper_parentheses_non_obvious_operations = none, multiplicative, additive, arithmetic, shift, bitwise_and, bitwise_exclusive_or, bitwise_inclusive_or, bitwise
resharper_parentheses_redundancy_style = remove_if_not_clarifies_precedence
resharper_place_accessorholder_attribute_on_same_line = false resharper_place_accessorholder_attribute_on_same_line = false
resharper_place_field_attribute_on_same_line = false resharper_place_field_attribute_on_same_line = false
resharper_place_simple_initializer_on_single_line = true
resharper_show_autodetect_configure_formatting_tip = false resharper_show_autodetect_configure_formatting_tip = false
resharper_space_within_single_line_array_initializer_braces = true
resharper_use_indent_from_vs = false resharper_use_indent_from_vs = false
resharper_wrap_array_initializer_style = chop_if_long
# ReSharper inspection severities # ReSharper inspection severities
resharper_arrange_missing_parentheses_highlighting = hint resharper_arrange_missing_parentheses_highlighting = hint