diff --git a/.editorconfig b/.editorconfig index 74a363e..f579ff5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -177,6 +177,9 @@ csharp_using_directive_placement = outside_namespace:warning csharp_prefer_static_local_function = true:warning # Primary constructor preferences csharp_style_prefer_primary_constructors = false:none +# Collection preferences +dotnet_style_prefer_collection_expression = true:error +resharper_use_collection_expression_highlighting =true:error ########################################## # Unnecessary Code Rules