|
7 | 7 | indent_style = space
|
8 | 8 | # Code files
|
9 | 9 | [*.{cs,csx,vb,vbx}]
|
10 |
| -indent_size =2 |
| 10 | +indent_size = 2 |
11 | 11 | insert_final_newline = true
|
12 | 12 | charset = utf-8-bom
|
13 | 13 | ###############################
|
@@ -54,11 +54,17 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
54 | 54 | # Use PascalCase for constant fields
|
55 | 55 | dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
|
56 | 56 | dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
|
57 |
| -dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style |
| 57 | +dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style |
58 | 58 | dotnet_naming_symbols.constant_fields.applicable_kinds = field
|
59 | 59 | dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
|
60 | 60 | dotnet_naming_symbols.constant_fields.required_modifiers = const
|
61 |
| -tab_width=2 |
| 61 | +tab_width= 2 |
| 62 | +dotnet_style_prefer_simplified_boolean_expressions = true:suggestion |
| 63 | +dotnet_style_prefer_compound_assignment = true:suggestion |
| 64 | +dotnet_style_prefer_simplified_interpolation = true:suggestion |
| 65 | +dotnet_style_namespace_match_folder = true:suggestion |
| 66 | +dotnet_style_operator_placement_when_wrapping = beginning_of_line |
| 67 | +end_of_line = crlf |
62 | 68 | ###############################
|
63 | 69 | # C# Coding Conventions #
|
64 | 70 | ###############################
|
@@ -118,6 +124,21 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
|
118 | 124 | # Wrapping preferences
|
119 | 125 | csharp_preserve_single_line_statements = true
|
120 | 126 | csharp_preserve_single_line_blocks = true
|
| 127 | +csharp_using_directive_placement = outside_namespace:silent |
| 128 | +csharp_prefer_simple_using_statement = true:suggestion |
| 129 | +csharp_style_namespace_declarations = file_scoped:warning |
| 130 | +csharp_style_prefer_method_group_conversion = true:silent |
| 131 | +csharp_style_prefer_top_level_statements = true:silent |
| 132 | +csharp_style_expression_bodied_lambdas = true:silent |
| 133 | +csharp_style_expression_bodied_local_functions = false:silent |
| 134 | +csharp_style_prefer_null_check_over_type_check = true:suggestion |
| 135 | +csharp_style_prefer_local_over_anonymous_function = true:suggestion |
| 136 | +csharp_style_prefer_index_operator = true:suggestion |
| 137 | +csharp_style_prefer_range_operator = true:suggestion |
| 138 | +csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion |
| 139 | +csharp_style_prefer_tuple_swap = true:suggestion |
| 140 | +csharp_style_prefer_utf8_string_literals = true:suggestion |
| 141 | +csharp_style_unused_value_assignment_preference = discard_variable:suggestion |
121 | 142 | ###############################
|
122 | 143 | # VB Coding Conventions #
|
123 | 144 | ###############################
|
|
0 commit comments