diff --git a/.editorconfig b/.editorconfig index dc501fa7b9..25222e51eb 100644 --- a/.editorconfig +++ b/.editorconfig @@ -108,6 +108,8 @@ dotnet_diagnostic.IDE0250.severity = suggestion dotnet_diagnostic.IDE0260.severity = suggestion # Use nameof dotnet_diagnostic.IDE0280.severity = error +# Collection initialization can be simplified +dotnet_diagnostic.IDE0305.severity = silent csharp_style_var_when_type_is_apparent = true csharp_style_var_elsewhere = true