Обновление стилистики
This commit is contained in:
+23
-7
@@ -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
|
||||
dotnet_diagnostic.ca1822.severity = none
|
||||
|
||||
Reference in New Issue
Block a user