diff --git a/.editorconfig b/.editorconfig index bcfa1529..cdf31601 100644 --- a/.editorconfig +++ b/.editorconfig @@ -95,6 +95,11 @@ dotnet_style_prefer_inferred_tuple_names = true:warning dotnet_style_prefer_is_null_check_over_reference_equality_method = true:warning csharp_style_implicit_object_creation_when_type_is_apparent = true:warning +# Disable 'Use collection expression for fluent (IDE0305)'. The rationale is that it's that collection +# expressions can be hard to read when having sequences of multiple chained fluent invocations (eg. LINQ). +# See: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0305. +dotnet_style_prefer_collection_expression = false + # Field preferences dotnet_style_readonly_field = true:warning