1+ [* .csproj ]
2+ indent_style = space
3+ indent_size = 2
4+ [* .{cs,vb} ]
5+ indent_style = space
6+ indent_size = 4
7+ # ### Naming styles ####
8+
9+ # Naming rules
10+
11+ dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
12+ dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
13+ dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
14+
15+ dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
16+ dotnet_naming_rule.types_should_be_pascal_case.symbols = types
17+ dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
18+
19+ dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
20+ dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
21+ dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
22+
23+ # Symbol specifications
24+
25+ dotnet_naming_symbols.interface.applicable_kinds = interface
26+ dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
27+ dotnet_naming_symbols.interface.required_modifiers =
28+
29+ dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
30+ dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
31+ dotnet_naming_symbols.types.required_modifiers =
32+
33+ dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
34+ dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
35+ dotnet_naming_symbols.non_field_members.required_modifiers =
36+
37+ # Naming styles
38+
39+ dotnet_naming_style.begins_with_i.required_prefix = I
40+ dotnet_naming_style.begins_with_i.required_suffix =
41+ dotnet_naming_style.begins_with_i.word_separator =
42+ dotnet_naming_style.begins_with_i.capitalization = pascal_case
43+
44+ dotnet_naming_style.pascal_case.required_prefix =
45+ dotnet_naming_style.pascal_case.required_suffix =
46+ dotnet_naming_style.pascal_case.word_separator =
47+ dotnet_naming_style.pascal_case.capitalization = pascal_case
48+
49+ dotnet_naming_style.pascal_case.required_prefix =
50+ dotnet_naming_style.pascal_case.required_suffix =
51+ dotnet_naming_style.pascal_case.word_separator =
52+ dotnet_naming_style.pascal_case.capitalization = pascal_case
53+ dotnet_style_operator_placement_when_wrapping = beginning_of_line
54+ tab_width = 4
55+ indent_size = 4
56+ end_of_line = crlf
57+ dotnet_style_coalesce_expression = true :suggestion
58+ dotnet_style_null_propagation = true :suggestion
59+ dotnet_style_prefer_is_null_check_over_reference_equality_method = true :suggestion
60+ dotnet_style_prefer_auto_properties = true :silent
61+ dotnet_style_object_initializer = true :suggestion
62+ dotnet_style_collection_initializer = true :suggestion
63+ dotnet_style_prefer_simplified_boolean_expressions = true :suggestion
64+ dotnet_style_prefer_conditional_expression_over_assignment = true :silent
65+ dotnet_style_prefer_conditional_expression_over_return = true :silent
66+ dotnet_style_explicit_tuple_names = true :suggestion
67+ dotnet_style_prefer_inferred_tuple_names = true :suggestion
68+ dotnet_style_prefer_inferred_anonymous_type_member_names = true :suggestion
69+ dotnet_style_prefer_compound_assignment = true :suggestion
70+ dotnet_style_prefer_simplified_interpolation = true :suggestion
71+ dotnet_style_namespace_match_folder = true :suggestion
72+ dotnet_style_readonly_field = true :suggestion
73+ dotnet_style_qualification_for_field = true :warning
74+ dotnet_style_qualification_for_property = true :warning
75+ dotnet_style_qualification_for_method = true :warning
76+ dotnet_style_qualification_for_event = true :warning
77+ dotnet_style_predefined_type_for_locals_parameters_members = true :silent
78+ dotnet_style_predefined_type_for_member_access = true :silent
79+ dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
80+ dotnet_style_allow_multiple_blank_lines_experimental = true :silent
81+ dotnet_style_allow_statement_immediately_after_block_experimental = true :silent
82+ dotnet_code_quality_unused_parameters = all:suggestion
83+ dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent
84+ dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent
85+ dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent
86+ dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent
87+
88+ [* .cs ]
89+ csharp_indent_labels = one_less_than_current
90+ csharp_space_around_binary_operators = before_and_after
91+ csharp_using_directive_placement = outside_namespace:silent
92+ csharp_prefer_simple_using_statement = true :suggestion
93+ csharp_prefer_braces = true :silent
94+ csharp_style_namespace_declarations = file_scoped:suggestion
95+ csharp_style_prefer_method_group_conversion = true :silent
96+ csharp_style_expression_bodied_methods = false :silent
97+ csharp_style_expression_bodied_constructors = false :silent
98+ csharp_style_expression_bodied_operators = false :silent
99+ csharp_style_expression_bodied_properties = true :silent
100+ csharp_style_expression_bodied_indexers = true :silent
101+ csharp_style_expression_bodied_accessors = true :silent
102+ csharp_style_expression_bodied_lambdas = true :silent
103+ csharp_style_expression_bodied_local_functions = false :silent
104+ csharp_style_throw_expression = true :suggestion
105+ csharp_style_prefer_null_check_over_type_check = true :suggestion
106+ csharp_prefer_simple_default_expression = true :suggestion
107+ csharp_style_prefer_local_over_anonymous_function = true :suggestion
108+ csharp_style_prefer_index_operator = true :suggestion
109+ csharp_style_prefer_range_operator = true :suggestion
110+ csharp_style_implicit_object_creation_when_type_is_apparent = true :suggestion
111+ csharp_style_prefer_tuple_swap = true :suggestion
112+ csharp_style_inlined_variable_declaration = true :suggestion
113+ csharp_style_deconstructed_variable_declaration = true :suggestion
114+ csharp_style_unused_value_assignment_preference = discard_variable:suggestion
115+ csharp_style_unused_value_expression_statement_preference = discard_variable:silent
116+ csharp_prefer_static_local_function = true :suggestion
117+ csharp_style_allow_embedded_statements_on_same_line_experimental = true :silent
118+ csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true :silent
119+ csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true :silent
120+ csharp_style_conditional_delegate_call = true :suggestion
121+ csharp_style_prefer_parameter_null_checking = true :suggestion
122+ csharp_style_prefer_switch_expression = true :suggestion
123+ csharp_style_pattern_matching_over_is_with_cast_check = true :suggestion
124+ csharp_style_prefer_pattern_matching = true :silent
125+ csharp_style_prefer_not_pattern = true :suggestion
126+ csharp_style_pattern_matching_over_as_with_null_check = true :suggestion
127+ csharp_style_prefer_extended_property_pattern = true :suggestion
128+ csharp_style_var_for_built_in_types = true :warning
129+ csharp_style_var_when_type_is_apparent = true :warning
130+ csharp_style_var_elsewhere = true :warning
0 commit comments