Skip to content

Commit

Permalink
Prefer collection initializer over collection expression syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Feb 14, 2024
1 parent f7a223f commit ba63b5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Expand Up @@ -157,6 +157,7 @@ csharp_style_expression_bodied_local_functions = true:silent
#Style - expression preferences
dotnet_style_object_initializer = true:warning
dotnet_style_collection_initializer = true:warning
dotnet_style_prefer_collection_expression = false:silent
dotnet_style_prefer_inferred_anonymous_type_member_names = true:warning
dotnet_style_prefer_auto_properties = true:warning
dotnet_style_prefer_conditional_expression_over_assignment = true:silent
Expand Down

0 comments on commit ba63b5b

Please sign in to comment.