1+ [* ]
2+
3+ # Microsoft .NET properties
4+ csharp_preferred_modifier_order = public, internal, protected, private, file, static, override, abstract, async, sealed, readonly, virtual, extern, unsafe, volatile, new, required:suggestion
5+ csharp_prefer_braces = when_multiline:none
6+ csharp_space_after_cast = true
7+ csharp_style_prefer_utf8_string_literals = true :suggestion
8+ csharp_style_var_elsewhere = true :suggestion
9+ csharp_style_var_for_built_in_types = true :suggestion
10+ csharp_style_var_when_type_is_apparent = true :suggestion
11+ dotnet_separate_import_directive_groups = true
12+ dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:suggestion
13+ dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:suggestion
14+ dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:suggestion
15+ dotnet_style_predefined_type_for_locals_parameters_members = true :suggestion
16+ dotnet_style_predefined_type_for_member_access = true :suggestion
17+ dotnet_style_qualification_for_event = false :suggestion
18+ dotnet_style_qualification_for_field = false :suggestion
19+ dotnet_style_qualification_for_method = false :suggestion
20+ dotnet_style_qualification_for_property = false :suggestion
21+ dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
22+
23+ # ReSharper properties
24+ resharper_align_multiline_extends_list = true
25+ resharper_align_multiline_type_parameter_constraints = true
26+ resharper_arguments_literal = named
27+ resharper_arguments_skip_single = true
28+ resharper_autodetect_indent_settings = true
29+ resharper_blank_lines_after_control_transfer_statements = 1
30+ resharper_blank_lines_after_multiline_statements = 1
31+ resharper_blank_lines_around_single_line_auto_property = 2
32+ resharper_braces_for_dowhile = required_for_multiline
33+ resharper_braces_for_fixed = required_for_multiline
34+ resharper_braces_for_for = required_for_multiline
35+ resharper_braces_for_foreach = required_for_multiline
36+ resharper_braces_for_ifelse = required_for_multiline_statement
37+ resharper_braces_for_lock = required_for_multiline
38+ resharper_braces_for_using = required_for_multiline
39+ resharper_braces_for_while = required_for_multiline
40+ resharper_braces_redundant = true
41+ resharper_constructor_or_destructor_body = expression_body
42+ resharper_cpp_insert_final_newline = true
43+ resharper_csharp_blank_lines_around_invocable = 2
44+ resharper_csharp_blank_lines_around_region = 2
45+ resharper_csharp_blank_lines_around_single_line_invocable = 2
46+ resharper_csharp_blank_lines_around_type = 2
47+ resharper_csharp_blank_lines_inside_region = 0
48+ resharper_csharp_int_align_comments = true
49+ resharper_csharp_keep_blank_lines_in_declarations = 100
50+ resharper_csharp_max_line_length = 187
51+ resharper_csharp_outdent_dots = true
52+ resharper_csharp_remove_blank_lines_near_braces_in_code = false
53+ resharper_csharp_wrap_after_declaration_lpar = true
54+ resharper_csharp_wrap_before_declaration_lpar = true
55+ resharper_csharp_wrap_before_declaration_rpar = true
56+ resharper_csharp_wrap_before_first_type_parameter_constraint = true
57+ resharper_csharp_wrap_extends_list_style = chop_if_long
58+ resharper_csharp_wrap_parameters_style = chop_if_long
59+ resharper_delete_quotes_from_solid_values = true
60+ resharper_formatter_off_tag = @formatter:off
61+ resharper_formatter_on_tag = @formatter:on
62+ resharper_formatter_tags_enabled = true
63+ resharper_indent_inside_namespace = false
64+ resharper_indent_preprocessor_region = no_indent
65+ resharper_instance_members_qualify_declared_in =
66+ resharper_int_align_switch_expressions = true
67+ resharper_int_align_switch_sections = true
68+ resharper_keep_existing_attribute_arrangement = true
69+ resharper_keep_existing_declaration_block_arrangement = true
70+ resharper_keep_existing_embedded_arrangement = false
71+ resharper_keep_existing_expr_member_arrangement = false
72+ resharper_keep_existing_initializer_arrangement = false
73+ resharper_keep_existing_property_patterns_arrangement = false
74+ resharper_keep_existing_switch_expression_arrangement = false
75+ resharper_local_function_body = expression_body
76+ resharper_max_attribute_length_for_same_line = 70
77+ resharper_max_formal_parameters_on_line = 3
78+ resharper_max_primary_constructor_parameters_on_line = 3
79+ resharper_method_or_operator_body = expression_body
80+ resharper_nested_ternary_style = expanded
81+ resharper_new_line_before_while = true
82+ resharper_normalize_tag_names = true
83+ resharper_place_accessorholder_attribute_on_same_line = false
84+ resharper_place_accessor_attribute_on_same_line = true
85+ resharper_place_expr_method_on_single_line = false
86+ resharper_place_field_attribute_on_same_line = false
87+ resharper_place_simple_accessor_on_single_line = false
88+ resharper_place_simple_case_statement_on_same_line = if_owner_is_single_line
89+ resharper_place_simple_embedded_statement_on_same_line = false
90+ charset = utf-8
91+ end_of_line = lf
92+ insert_final_newline = false
93+ indent_style = space
94+ indent_size = 4
95+ resharper_place_simple_enum_on_single_line = true
96+ resharper_place_simple_switch_expression_on_single_line = true
97+ resharper_prefer_explicit_discard_declaration = true
98+ resharper_show_autodetect_configure_formatting_tip = false
99+ resharper_use_indent_from_vs = false
100+ resharper_wrap_array_initializer_style = chop_if_long
101+ resharper_wrap_chained_binary_patterns = chop_if_long
102+ resharper_wrap_object_and_collection_initializer_style = chop_always
103+
104+ # ReSharper inspection severities
105+ resharper_arrange_missing_parentheses_highlighting = hint
106+ resharper_arrange_modifiers_order_highlighting = hint
107+ resharper_arrange_redundant_parentheses_highlighting = hint
108+ resharper_arrange_this_qualifier_highlighting = hint
109+ resharper_arrange_type_member_modifiers_highlighting = hint
110+ resharper_arrange_type_modifiers_highlighting = hint
111+ resharper_built_in_type_reference_style_for_member_access_highlighting = hint
112+ resharper_built_in_type_reference_style_highlighting = hint
113+ resharper_html_tag_should_not_be_self_closed_highlighting = none
114+ resharper_ignored_directive_highlighting = none
115+ resharper_invert_if_highlighting = none
116+ resharper_mvc_action_not_resolved_highlighting = warning
117+ resharper_mvc_area_not_resolved_highlighting = warning
118+ resharper_mvc_controller_not_resolved_highlighting = warning
119+ resharper_mvc_masterpage_not_resolved_highlighting = warning
120+ resharper_mvc_partial_view_not_resolved_highlighting = warning
121+ resharper_mvc_template_not_resolved_highlighting = warning
122+ resharper_mvc_view_component_not_resolved_highlighting = warning
123+ resharper_mvc_view_component_view_not_resolved_highlighting = warning
124+ resharper_mvc_view_not_resolved_highlighting = warning
125+ resharper_property_can_be_made_init_only_global_highlighting = none
126+ resharper_razor_assembly_not_resolved_highlighting = warning
127+ resharper_redundant_base_qualifier_highlighting = warning
128+ resharper_suggest_var_or_type_built_in_types_highlighting = hint
129+ resharper_suggest_var_or_type_elsewhere_highlighting = hint
130+ resharper_suggest_var_or_type_simple_types_highlighting = hint
131+ resharper_web_config_module_not_resolved_highlighting = warning
132+ resharper_web_config_type_not_resolved_highlighting = warning
133+ resharper_web_config_wrong_module_highlighting = warning
134+
135+ [{* .har,* .json,* .jsonc,* .postman_collection,* .postman_environment} ]
136+ indent_size = 2
137+
138+ [{* .yaml,* .yml} ]
139+ indent_size = 2
140+
141+ [{* .bash,* .bats,* .dash,* .ksh,* .mksh,* .sh,.bash_aliases,.bash_logout,.bash_profile,.bashrc,.profile} ]
142+ indent_size = 2
143+
144+ [* .{appxmanifest,asax,ascx,aspx,axaml,blockshader,build,cg,cginc,compute,cs,cshtml,dtd,fs,fsi,fsscript,fsx,fx,fxh,hlsl,hlsli,hlslinc,master,ml,mli,nuspec,paml,razor,resw,resx,shaderFoundry,skin,urtshader,usf,ush,vb,xaml,xamlx,xoml,xsd} ]
145+ tab_width = 4
0 commit comments