From 83dbad708a1792843ee3bb375b448262c7343f15 Mon Sep 17 00:00:00 2001 From: David Boike Date: Thu, 7 Mar 2024 16:15:33 -0600 Subject: [PATCH] net8.0 sdk suppressions --- .../.editorconfig | 5 ++++- src/NServiceBus.Transport.RabbitMQ.Tests/.editorconfig | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/.editorconfig b/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/.editorconfig index 0279bdc2d..e2725fa61 100644 --- a/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/.editorconfig +++ b/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/.editorconfig @@ -1,4 +1,7 @@ [*.cs] # Justification: Test project -dotnet_diagnostic.CA2007.severity = none \ No newline at end of file +dotnet_diagnostic.CA2007.severity = none + +# IDE0028: Simplify collection initialization +dotnet_diagnostic.IDE0028.severity = suggestion diff --git a/src/NServiceBus.Transport.RabbitMQ.Tests/.editorconfig b/src/NServiceBus.Transport.RabbitMQ.Tests/.editorconfig index 0279bdc2d..e2725fa61 100644 --- a/src/NServiceBus.Transport.RabbitMQ.Tests/.editorconfig +++ b/src/NServiceBus.Transport.RabbitMQ.Tests/.editorconfig @@ -1,4 +1,7 @@ [*.cs] # Justification: Test project -dotnet_diagnostic.CA2007.severity = none \ No newline at end of file +dotnet_diagnostic.CA2007.severity = none + +# IDE0028: Simplify collection initialization +dotnet_diagnostic.IDE0028.severity = suggestion