Skip to content

Commit affab59

Browse files
committed
chore: update editorconfig to latest version
1 parent 8971056 commit affab59

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,17 @@ csharp_style_expression_bodied_constructors = false:silent
122122
csharp_style_expression_bodied_lambdas = true:silent
123123
csharp_style_expression_bodied_local_functions = false:silent
124124
csharp_style_prefer_primary_constructors = true:suggestion
125+
csharp_style_prefer_null_check_over_type_check = true:suggestion
126+
csharp_prefer_simple_default_expression = true:suggestion
127+
csharp_style_prefer_local_over_anonymous_function = true:suggestion
128+
csharp_style_prefer_index_operator = true:suggestion
129+
csharp_style_prefer_range_operator = true:suggestion
130+
csharp_style_implicit_object_creation_when_type_is_apparent = true:suggestion
131+
csharp_style_prefer_tuple_swap = true:suggestion
132+
csharp_style_prefer_utf8_string_literals = true:suggestion
133+
csharp_style_deconstructed_variable_declaration = true:suggestion
134+
csharp_style_unused_value_assignment_preference = discard_variable:suggestion
135+
csharp_style_unused_value_expression_statement_preference = discard_variable:silent
125136

126137
# .NET Naming conventions
127138

@@ -202,3 +213,4 @@ dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
202213
dotnet_style_prefer_compound_assignment = true:suggestion
203214
dotnet_style_prefer_simplified_interpolation = true:suggestion
204215
dotnet_style_namespace_match_folder = true:suggestion
216+
dotnet_style_prefer_collection_expression = when_types_loosely_match:suggestion

0 commit comments

Comments
 (0)