1+ root = true
2+
3+ [* ]
4+
5+ # Default properties
6+ charset = utf-8
7+ end_of_line = crlf
8+ trim_trailing_whitespace = false
9+ insert_final_newline = false
10+ indent_style = space
11+ indent_size = 2
12+
13+ [{* .cs,* .cshtml,* .razor} ]
14+
15+ # CSharp properties
16+ trim_trailing_whitespace = true
17+ insert_final_newline = true
18+ indent_size = 4
19+ max_line_length = 140
20+
21+ # Microsoft .NET properties
22+ csharp_new_line_before_members_in_object_initializers = true
23+ csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion
24+ csharp_style_expression_bodied_accessors = true :suggestion
25+ csharp_style_expression_bodied_methods = true :none
26+ csharp_style_expression_bodied_properties = true :suggestion
27+ csharp_style_var_elsewhere = true :suggestion
28+ csharp_style_var_for_built_in_types = true :suggestion
29+ csharp_style_var_when_type_is_apparent = true :suggestion
30+ dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
31+ dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
32+ dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
33+ dotnet_style_predefined_type_for_locals_parameters_members = true :suggestion
34+ dotnet_style_predefined_type_for_member_access = true :suggestion
35+ dotnet_style_qualification_for_event = false :suggestion
36+ dotnet_style_qualification_for_field = false :suggestion
37+ dotnet_style_qualification_for_method = false :suggestion
38+ dotnet_style_qualification_for_property = false :suggestion
39+ dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
40+
41+ # ReSharper properties
42+ resharper_blank_lines_after_multiline_statements = 1
43+ resharper_blank_lines_around_single_line_auto_property = 1
44+ resharper_blank_lines_before_block_statements = 1
45+ resharper_blank_lines_before_control_transfer_statements = 1
46+ resharper_blank_lines_before_multiline_statements = 1
47+ resharper_blank_lines_before_single_line_comment = 1
48+ resharper_braces_for_using = required_for_multiline
49+ resharper_braces_for_while = required_for_multiline
50+ resharper_csharp_blank_lines_around_single_line_invocable = 1
51+ resharper_csharp_empty_block_style = together_same_line
52+ resharper_csharp_place_type_constraints_on_same_line = false
53+ resharper_csharp_trailing_comma_in_multiline_lists = true
54+ resharper_csharp_trailing_comma_in_singleline_lists = false
55+ resharper_csharp_wrap_after_declaration_lpar = true
56+ resharper_csharp_wrap_arguments_style = chop_if_long
57+ resharper_csharp_wrap_extends_list_style = chop_if_long
58+ resharper_csharp_wrap_multiple_type_parameter_constraints_style = chop_always
59+ resharper_csharp_wrap_object_and_collection_initializer_style = chop_always
60+ resharper_csharp_wrap_parameters_style = chop_if_long
61+ resharper_csharp_wrap_ternary_expr_style = chop_always
62+ resharper_indent_preprocessor_if = usual_indent
63+ resharper_instance_members_qualify_declared_in = base_class
64+ resharper_keep_existing_declaration_parens_arrangement = false
65+ resharper_keep_existing_embedded_arrangement = false
66+ resharper_keep_existing_expr_member_arrangement = false
67+ resharper_keep_existing_invocation_parens_arrangement = false
68+ resharper_keep_existing_linebreaks = false
69+ resharper_keep_existing_list_patterns_arrangement = false
70+ resharper_keep_existing_primary_constructor_declaration_parens_arrangement = false
71+ resharper_keep_existing_property_patterns_arrangement = false
72+ resharper_csharp_keep_existing_linebreaks = false
73+ resharper_nested_ternary_style = expanded
74+ resharper_object_creation_when_type_not_evident = target_typed
75+ resharper_place_accessorholder_attribute_on_same_line = false
76+ resharper_place_expr_method_on_single_line = false
77+ resharper_place_simple_embedded_statement_on_same_line = false
78+ resharper_place_simple_list_pattern_on_single_line = true
79+ resharper_trailing_comma_in_multiline_lists = true
80+ resharper_wrap_after_property_in_chained_method_calls = true
81+ resharper_wrap_before_first_method_call = true
82+ resharper_wrap_before_primary_constructor_declaration_rpar = true
83+ resharper_wrap_chained_binary_expressions = chop_if_long
84+ resharper_wrap_chained_binary_patterns = chop_if_long
85+ resharper_wrap_chained_method_calls = chop_always
86+ resharper_wrap_list_pattern = chop_if_long
87+
88+ # Verify settings
89+ [* .{received,verified}.{txt,xml,json} ]
90+ end_of_line = lf
91+ indent_size = unset
92+ indent_style = unset
93+ tab_width = unset
0 commit comments