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