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