From c6548349b955bd628004b069937a47e0515e2c4b Mon Sep 17 00:00:00 2001 From: kozhilya Date: Wed, 30 Apr 2025 14:37:44 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=81=D1=82=D0=B8=D0=BB=D0=B8=D1=81=D1=82?= =?UTF-8?q?=D0=B8=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 30 +++++++++++++++++++++++------- Pf2eDataScrapper.sln | 1 + 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index 6283c94..7396961 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,5 @@ -# Удалите строку ниже, если вы хотите наследовать параметры .editorconfig из каталогов, расположенных выше в иерархии -root = true +root = true +# Удалите строку ниже, если вы хотите наследовать параметры .editorconfig из каталогов, расположенных выше в иерархии # Файлы C# [*.cs] @@ -34,8 +34,8 @@ dotnet_search_reference_assemblies = true # Упорядочение Using dotnet_separate_import_directive_groups = false -dotnet_sort_system_directives_first = false -file_header_template = unset +dotnet_sort_system_directives_first = true +file_header_template = # Предпочтения для this. и Me. dotnet_style_qualification_for_event = false @@ -121,7 +121,7 @@ csharp_style_conditional_delegate_call = true # Предпочтения модификатора csharp_prefer_static_anonymous_function = true csharp_prefer_static_local_function = true -csharp_preferred_modifier_order = public,private,protected,internal,file,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,required,volatile,async +csharp_preferred_modifier_order = public, private, protected, readonly, file, static, extern, internal, virtual, abstract, override, sealed, new, unsafe, required, volatile, async:suggestion csharp_style_prefer_readonly_struct = true csharp_style_prefer_readonly_struct_member = true @@ -180,7 +180,7 @@ csharp_indent_labels = one_less_than_current csharp_indent_switch_labels = true # Предпочтения для интервалов -csharp_space_after_cast = true +csharp_space_after_cast = false csharp_space_after_colon_in_inheritance_clause = true csharp_space_after_comma = true csharp_space_after_dot = false @@ -249,6 +249,22 @@ dotnet_naming_style.begins_with_i.required_suffix = dotnet_naming_style.begins_with_i.word_separator = dotnet_naming_style.begins_with_i.capitalization = pascal_case +# ReSharper properties +resharper_accessor_owner_body = accessors_with_expression_body +resharper_blank_lines_after_multiline_statements = 1 +resharper_csharp_blank_lines_around_single_line_field = 1 +resharper_csharp_wrap_after_invocation_lpar = true +resharper_csharp_wrap_arguments_style = chop_if_long +resharper_csharp_wrap_before_invocation_rpar = true +resharper_instance_members_qualify_declared_in = +resharper_local_function_body = expression_body +resharper_parentheses_redundancy_style = remove +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_trailing_comma_in_multiline_lists = true +resharper_use_heuristics_for_body_style = true + [*.{cs,vb}] dotnet_style_coalesce_expression = true:suggestion dotnet_style_null_propagation = true:suggestion @@ -270,4 +286,4 @@ dotnet_code_quality_unused_parameters = all:suggestion dotnet_style_operator_placement_when_wrapping = beginning_of_line tab_width = 4 indent_size = 4 -dotnet_diagnostic.CA1822.severity = none \ No newline at end of file +dotnet_diagnostic.ca1822.severity = none diff --git a/Pf2eDataScrapper.sln b/Pf2eDataScrapper.sln index c19e6f3..9c6ae20 100644 --- a/Pf2eDataScrapper.sln +++ b/Pf2eDataScrapper.sln @@ -11,6 +11,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Элементы решения", "Элементы решения", "{754FC069-D67B-A9D7-50A1-8D1CA196D8F1}" ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig + .config\dotnet-tools.json = .config\dotnet-tools.json README.md = README.md EndProjectSection EndProject