Update editorconfig.

This commit is contained in:
2024-04-30 04:19:10 +01:00
parent 863516c6c0
commit 690afccef8
2 changed files with 58 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ indent_style
insert_final_newline = false
max_line_length = 120
tab_width = 2
trim_trailing_whitespace = false
trim_trailing_whitespace = true
ij_continuation_indent_size = 4
ij_formatter_off_tag = @formatter:off
ij_formatter_on_tag = @formatter:on
@@ -77,17 +77,33 @@ resharper_align_multline_type_parameter_list
resharper_align_ternary = align_all
resharper_align_tuple_components = true
resharper_autodetect_indent_settings = true
resharper_blank_lines_after_multiline_statements = 1
resharper_blank_lines_around_auto_property = 0
resharper_blank_lines_before_block_statements = 1
resharper_blank_lines_before_control_transfer_statements = 1
resharper_blank_lines_before_multiline_statements = 1
resharper_blank_lines_before_single_line_comment = 1
resharper_braces_for_for = required_for_multiline
resharper_braces_for_foreach = required_for_multiline
resharper_braces_for_ifelse = required_for_multiline
resharper_braces_for_while = required_for_multiline
resharper_builtin_type_apply_to_native_integer = false
resharper_constructor_or_destructor_body = expression_body
resharper_cpp_allow_comment_after_lbrace = true
resharper_cpp_keep_blank_lines_in_code = 1
resharper_cpp_keep_blank_lines_in_declarations = 1
resharper_cpp_keep_user_linebreaks = false
resharper_cpp_wrap_parameters_style = chop_if_long
resharper_csharp_align_first_arg_by_paren = true
resharper_csharp_blank_lines_around_field = 0
resharper_csharp_empty_block_style = together_same_line
resharper_csharp_int_align_fix_in_adjacent = true
resharper_csharp_place_comments_at_first_column = true
resharper_csharp_prefer_qualified_reference = false
resharper_csharp_wrap_arguments_style = chop_if_long
resharper_csharp_wrap_extends_list_style = chop_if_long
resharper_default_value_when_type_not_evident = default_expression
resharper_empty_block_style = together_same_line
resharper_enforce_line_ending_style = true
resharper_formatter_off_tag = @formatter:off
resharper_formatter_on_tag = @formatter:on
@@ -95,29 +111,51 @@ resharper_formatter_tags_enabled
resharper_for_built_in_types = use_var_when_evident
resharper_function_declaration_return_type_style = on_single_line
resharper_function_definition_return_type_style = on_single_line
resharper_html_attribute_style = on_single_line
resharper_html_max_blank_lines_between_tags = 1
resharper_html_pi_attribute_style = first_attribute_on_single_line
resharper_indent_anonymous_method_block = false
resharper_indent_goto_labels = false
resharper_indent_nested_fixed_stmt = true
resharper_indent_nested_foreach_stmt = true
resharper_indent_nested_for_stmt = true
resharper_indent_nested_lock_stmt = true
resharper_indent_nested_usings_stmt = true
resharper_indent_nested_while_stmt = true
resharper_indent_preprocessor_if = outdent
resharper_indent_preprocessor_other = outdent
resharper_indent_preprocessor_region = outdent
resharper_indent_primary_constructor_decl_pars = inside
resharper_indent_switch_labels = true
resharper_int_align = true
resharper_int_align_bitfield_sizes = true
resharper_int_align_comments = true
resharper_int_align_declaration_names = true
resharper_int_align_enum_initializers = true
resharper_int_align_eq = true
resharper_int_align_fix_in_adjacent = true
resharper_keep_existing_declaration_parens_arrangement = false
resharper_keep_existing_embedded_arrangement = false
resharper_keep_existing_enum_arrangement = false
resharper_keep_existing_expr_member_arrangement = false
resharper_keep_existing_initializer_arrangement = false
resharper_keep_existing_linebreaks = false
resharper_keep_existing_list_patterns_arrangement = false
resharper_keep_existing_primary_constructor_declaration_parens_arrangement = false
resharper_keep_existing_property_patterns_arrangement = false
resharper_keep_existing_switch_expression_arrangement = false
resharper_line_break_after_colon_in_member_initializer_lists = on_single_line
resharper_line_break_after_deref_in_trailing_return_types = on_single_line
resharper_line_break_before_deref_in_trailing_return_types = on_single_line
resharper_line_break_before_requires_clause = on_single_line
resharper_linkage_specification_braces = next_line
resharper_linkage_specification_indentation = all
resharper_local_function_body = expression_body
resharper_max_enum_members_on_line = 1
resharper_member_initializer_list_style = on_single_line
resharper_method_or_operator_body = expression_body
resharper_nested_ternary_style = expanded
resharper_normalize_tag_names = true
resharper_outdent_binary_ops = true
resharper_outdent_binary_pattern_ops = true
resharper_outdent_commas = true
@@ -125,13 +163,19 @@ resharper_outdent_dots
resharper_outdent_statement_labels = true
resharper_parentheses_redundancy_style = remove
resharper_place_attribute_on_same_line = false
resharper_place_simple_embedded_statement_on_same_line = false
resharper_place_expr_accessor_on_single_line = true
resharper_place_expr_method_on_single_line = true
resharper_place_expr_property_on_single_line = true
resharper_place_simple_embedded_statement_on_same_line = if_owner_is_single_line
resharper_place_simple_initializer_on_single_line = false
resharper_qualified_using_at_nested_scope = true
resharper_show_autodetect_configure_formatting_tip = false
resharper_simple_block_style = on_single_line
resharper_simple_case_statement_style = line_break
resharper_simple_embedded_statement_style = on_single_line
resharper_sort_attributes = true
resharper_sort_class_selectors = true
resharper_space_after_keywords_in_control_flow_statements = false
resharper_space_after_ptr_in_data_member = false
resharper_space_after_ptr_in_method = false
resharper_space_after_ref_in_data_member = false
@@ -147,14 +191,21 @@ resharper_toplevel_function_definition_return_type_style
resharper_use_indent_from_vs = false
resharper_wrap_after_dot_in_method_calls = false
resharper_wrap_base_clause_style = chop_if_long
resharper_wrap_before_primary_constructor_declaration_lpar = true
resharper_wrap_before_primary_constructor_declaration_rpar = true
resharper_wrap_braced_init_list_style = chop_if_long
resharper_wrap_chained_binary_expressions = chop_if_long
resharper_wrap_chained_binary_patterns = chop_if_long
resharper_wrap_chained_method_calls = chop_if_long
resharper_wrap_ctor_initializer_style = chop_if_long
resharper_wrap_enum_declaration = chop_if_long
resharper_wrap_lines = true
resharper_xmldoc_attribute_indent = align_by_first_attribute
resharper_xmldoc_attribute_style = first_attribute_on_single_line
resharper_xmldoc_pi_attribute_style = first_attribute_on_single_line
resharper_xml_attribute_style = first_attribute_on_single_line
resharper_xml_keep_user_linebreaks = false
resharper_xml_pi_attribute_style = first_attribute_on_single_line
# ReSharper inspection severities
resharper_annotate_can_be_null_parameter_highlighting = warning
@@ -436,6 +487,7 @@ resharper_struct_can_be_made_read_only_highlighting
resharper_struct_member_can_be_made_read_only_highlighting = warning
resharper_suggest_base_type_for_parameter_highlighting = none
resharper_suggest_base_type_for_parameter_in_constructor_highlighting = warning
resharper_suggest_discard_declaration_var_style_highlighting = hint
resharper_suggest_var_or_type_built_in_types_highlighting = hint
resharper_suggest_var_or_type_deconstruction_declarations_highlighting = warning
resharper_suggest_var_or_type_elsewhere_highlighting = hint

View File

@@ -1,3 +1,7 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=ClassCanBeSealed_002ELocal/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=LambdaExpressionCanBeMadeStatic/@EntryIndexedValue">WARNING</s:String>
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=PassStringInterpolation/@EntryIndexedValue"></s:String>
<s:Boolean x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=PassStringInterpolation/@EntryIndexRemoved">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=AARU/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=redbook/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>