1- indent_style = space
2- indent_size = 2
3-
4- [* .{cs,vb} ]
1+ [* .cs ]
52# ### Naming styles ####
63
74# Naming rules
@@ -64,6 +61,7 @@ dotnet_naming_style.pascal_case.capitalization = pascal_case
6461dotnet_style_operator_placement_when_wrapping = beginning_of_line
6562tab_width = 2
6663indent_size = 2
64+ indent_style = space
6765end_of_line = crlf
6866dotnet_style_coalesce_expression = true :suggestion
6967dotnet_style_null_propagation = true :suggestion
@@ -88,20 +86,15 @@ dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
8886dotnet_style_allow_multiple_blank_lines_experimental = true :silent
8987dotnet_style_allow_statement_immediately_after_block_experimental = true :silent
9088dotnet_code_quality_unused_parameters = all:suggestion
91- dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
92- dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
93- dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
9489dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
9590dotnet_style_qualification_for_field = false :silent
9691dotnet_style_qualification_for_property = false :silent
9792dotnet_style_qualification_for_method = false :silent
9893dotnet_style_qualification_for_event = false :silent
9994
100- [* .cs ]
10195csharp_indent_labels = one_less_than_current
10296csharp_using_directive_placement = outside_namespace:silent
10397csharp_prefer_simple_using_statement = true :suggestion
104- csharp_prefer_braces = true :suggestion
10598csharp_style_namespace_declarations = block_scoped:silent
10699csharp_style_prefer_method_group_conversion = true :silent
107100csharp_style_prefer_top_level_statements = false :silent
@@ -143,9 +136,52 @@ csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
143136csharp_style_pattern_matching_over_as_with_null_check = true :suggestion
144137csharp_style_prefer_not_pattern = true :suggestion
145138csharp_style_prefer_extended_property_pattern = true :suggestion
146- csharp_style_var_for_built_in_types = false :silent
147- csharp_style_var_when_type_is_apparent = false :silent
148- csharp_style_var_elsewhere = false :silent
139+
140+ # Microsoft .NET properties
141+ csharp_new_line_before_members_in_object_initializers = false
142+ csharp_preferred_modifier_order = public, private, protected, internal, file, static, volatile, async, sealed, extern, virtual, abstract, new, unsafe, override, readonly, required:suggestion
143+ csharp_prefer_braces = true :none
144+ csharp_preserve_single_line_blocks = true
145+ csharp_style_var_elsewhere = false :suggestion
146+ csharp_style_var_for_built_in_types = false :suggestion
147+ csharp_style_var_when_type_is_apparent = false :suggestion
148+ dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
149+ dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
150+ dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:none
151+
152+ # ReSharper properties
153+ resharper_align_multiline_binary_expressions_chain = false
154+ resharper_blank_lines_after_block_statements = 0
155+ resharper_blank_lines_after_start_comment = 0
156+ resharper_blank_lines_after_using_list = 0
157+ resharper_blank_lines_around_property = 0
158+ resharper_blank_lines_around_single_line_local_method = 1
159+ resharper_braces_redundant = true
160+ resharper_constructor_or_destructor_body = expression_body
161+ resharper_csharp_blank_lines_around_field = 0
162+ resharper_csharp_blank_lines_around_invocable = 0
163+ resharper_csharp_blank_lines_around_region = 0
164+ resharper_csharp_blank_lines_inside_region = 0
165+ resharper_csharp_empty_block_style = together
166+ resharper_csharp_indent_size = 2
167+ resharper_csharp_keep_existing_enum_arrangement = false
168+ resharper_csharp_remove_blank_lines_near_braces_in_declarations = false
169+ resharper_csharp_wrap_before_binary_opsign = true
170+ resharper_instance_members_qualify_declared_in =
171+ resharper_max_attribute_length_for_same_line = 70
172+ resharper_method_or_operator_body = expression_body
173+ resharper_parentheses_redundancy_style = remove
174+ resharper_place_accessorholder_attribute_on_same_line = false
175+ resharper_place_expr_accessor_on_single_line = true
176+ resharper_place_expr_property_on_single_line = true
177+ resharper_place_field_attribute_on_same_line = false
178+ resharper_place_simple_initializer_on_single_line = false
179+ resharper_space_between_attribute_sections = false
180+ resharper_use_roslyn_logic_for_evident_types = true
181+ resharper_wrap_after_primary_constructor_declaration_lpar = false
182+ resharper_wrap_before_arrow_with_expressions = true
183+ resharper_wrap_object_and_collection_initializer_style = chop_always
184+ resharper_wrap_primary_constructor_parameters_style = wrap_if_long
149185
150186# SYSLIB0003: Type or member is obsolete
151187dotnet_diagnostic.SYSLIB0003.severity = none
0 commit comments