2022-06-17 18:23:47 +02:00
|
|
|
[*]
|
|
|
|
charset = utf-8
|
|
|
|
end_of_line = lf
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
insert_final_newline = true
|
|
|
|
indent_style = space
|
|
|
|
indent_size = 4
|
|
|
|
|
|
|
|
# Microsoft .NET properties
|
|
|
|
csharp_new_line_before_catch = false
|
|
|
|
csharp_new_line_before_else = false
|
|
|
|
csharp_new_line_before_finally = false
|
|
|
|
csharp_new_line_before_members_in_object_initializers = false
|
|
|
|
csharp_new_line_before_open_brace = none
|
|
|
|
csharp_new_line_between_query_expression_clauses = false
|
|
|
|
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
|
|
|
|
csharp_space_after_cast = true
|
|
|
|
csharp_style_var_elsewhere = true:suggestion
|
|
|
|
csharp_style_var_for_built_in_types = true:suggestion
|
|
|
|
csharp_style_var_when_type_is_apparent = true:suggestion
|
|
|
|
dotnet_naming_rule.private_constants_rule.severity = warning
|
|
|
|
dotnet_naming_rule.private_constants_rule.style = upper_camel_case_style
|
|
|
|
dotnet_naming_rule.private_constants_rule.symbols = private_constants_symbols
|
|
|
|
dotnet_naming_rule.private_instance_fields_rule.severity = warning
|
|
|
|
dotnet_naming_rule.private_instance_fields_rule.style = lower_camel_case_style
|
|
|
|
dotnet_naming_rule.private_instance_fields_rule.symbols = private_instance_fields_symbols
|
|
|
|
dotnet_naming_rule.private_static_fields_rule.severity = warning
|
|
|
|
dotnet_naming_rule.private_static_fields_rule.style = lower_camel_case_style
|
|
|
|
dotnet_naming_rule.private_static_fields_rule.symbols = private_static_fields_symbols
|
|
|
|
dotnet_naming_rule.private_static_readonly_rule.severity = warning
|
|
|
|
dotnet_naming_rule.private_static_readonly_rule.style = upper_camel_case_style
|
|
|
|
dotnet_naming_rule.private_static_readonly_rule.symbols = private_static_readonly_symbols
|
|
|
|
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
|
|
|
|
dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case
|
|
|
|
dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities = private
|
|
|
|
dotnet_naming_symbols.private_constants_symbols.applicable_kinds = field
|
|
|
|
dotnet_naming_symbols.private_constants_symbols.required_modifiers = const
|
|
|
|
dotnet_naming_symbols.private_instance_fields_symbols.applicable_accessibilities = private
|
|
|
|
dotnet_naming_symbols.private_instance_fields_symbols.applicable_kinds = field
|
|
|
|
dotnet_naming_symbols.private_static_fields_symbols.applicable_accessibilities = private
|
|
|
|
dotnet_naming_symbols.private_static_fields_symbols.applicable_kinds = field
|
|
|
|
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_kinds = field
|
|
|
|
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers = static, readonly
|
|
|
|
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
|
|
|
|
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
|
|
|
|
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
|
|
|
|
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
|
|
|
|
dotnet_style_predefined_type_for_member_access = true:suggestion
|
|
|
|
dotnet_style_qualification_for_event = true:suggestion
|
|
|
|
dotnet_style_qualification_for_field = true:suggestion
|
|
|
|
dotnet_style_qualification_for_method = true:suggestion
|
|
|
|
dotnet_style_qualification_for_property = true:suggestion
|
|
|
|
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
|
|
|
|
|
|
|
|
# ReSharper properties
|
|
|
|
resharper_blank_lines_after_block_statements = 0
|
|
|
|
resharper_blank_lines_around_auto_property = 0
|
|
|
|
resharper_blank_lines_around_local_method = 0
|
|
|
|
resharper_blank_lines_around_property = 0
|
|
|
|
resharper_blank_lines_inside_type = 1
|
|
|
|
resharper_braces_for_dowhile = required_for_multiline
|
|
|
|
resharper_braces_for_fixed = required_for_multiline
|
|
|
|
resharper_braces_for_for = required_for_multiline
|
|
|
|
resharper_braces_for_foreach = required_for_multiline
|
|
|
|
resharper_braces_for_ifelse = required_for_multiline
|
|
|
|
resharper_braces_for_lock = required_for_multiline
|
|
|
|
resharper_braces_for_using = required_for_multiline
|
|
|
|
resharper_braces_for_while = required_for_multiline
|
|
|
|
resharper_braces_redundant = false
|
|
|
|
resharper_csharp_blank_lines_around_field = 0
|
|
|
|
resharper_csharp_blank_lines_around_single_line_invocable = 1
|
|
|
|
resharper_csharp_empty_block_style = together
|
|
|
|
resharper_csharp_keep_blank_lines_in_code = 1
|
|
|
|
resharper_csharp_keep_blank_lines_in_declarations = 1
|
|
|
|
resharper_csharp_max_line_length = unset
|
|
|
|
resharper_csharp_stick_comment = false
|
|
|
|
resharper_csharp_wrap_before_ternary_opsigns = false
|
|
|
|
resharper_csharp_wrap_multiple_declaration_style = wrap_if_long
|
|
|
|
resharper_csharp_wrap_multiple_type_parameter_constraints_style = wrap_if_long
|
|
|
|
resharper_csharp_wrap_ternary_expr_style = wrap_if_long
|
|
|
|
resharper_force_attribute_style = join
|
|
|
|
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 = usual_indent
|
|
|
|
resharper_indent_preprocessor_other = usual_indent
|
|
|
|
resharper_keep_existing_declaration_parens_arrangement = false
|
|
|
|
resharper_keep_existing_embedded_arrangement = false
|
|
|
|
resharper_keep_existing_expr_member_arrangement = false
|
|
|
|
resharper_keep_existing_property_patterns_arrangement = false
|
|
|
|
resharper_keep_existing_switch_expression_arrangement = false
|
|
|
|
resharper_parentheses_redundancy_style = remove
|
|
|
|
resharper_place_attribute_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_accessor_on_single_line = false
|
|
|
|
resharper_place_simple_anonymousmethod_on_single_line = false
|
|
|
|
resharper_place_simple_embedded_statement_on_same_line = false
|
|
|
|
resharper_space_around_arrow_op = true
|
|
|
|
resharper_space_within_empty_braces = false
|
|
|
|
resharper_space_within_single_line_array_initializer_braces = false
|
|
|
|
resharper_static_members_qualify_members = field, property, event, method
|
|
|
|
resharper_wrap_for_stmt_header_style = wrap_if_long
|
|
|
|
resharper_wrap_object_and_collection_initializer_style = wrap_if_long
|
|
|
|
resharper_xmldoc_attribute_indent = align_by_first_attribute
|
|
|
|
resharper_xmldoc_attribute_style = on_single_line
|
|
|
|
resharper_xmldoc_pi_attribute_style = on_single_line
|
2022-09-09 11:17:37 +02:00
|
|
|
|
|
|
|
[*.md]
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
indent_size = 2
|