From e10ddd37a39942c308dd7ebbd8aadd112edf6bb3 Mon Sep 17 00:00:00 2001 From: Brian Pursley Date: Fri, 27 Dec 2024 10:19:38 -0500 Subject: [PATCH] Don't separate import directive groups --- .editorconfig | 2 +- Npgmq.Example/Program.cs | 3 --- Npgmq.Test/NpgmqClientTest.cs | 4 ---- Npgmq/NpgmqClient.cs | 2 -- Npgmq/NpgmqCommand.cs | 1 - Npgmq/NpgmqCommandFactory.cs | 1 - 6 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.editorconfig b/.editorconfig index 5ffa69c..1d6d4c3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -24,7 +24,7 @@ insert_final_newline = false [*.{cs,vb}] # Organize usings -dotnet_separate_import_directive_groups = true +dotnet_separate_import_directive_groups = false dotnet_sort_system_directives_first = true file_header_template = unset diff --git a/Npgmq.Example/Program.cs b/Npgmq.Example/Program.cs index 780306b..49c31d4 100644 --- a/Npgmq.Example/Program.cs +++ b/Npgmq.Example/Program.cs @@ -1,9 +1,6 @@ using System.Reflection; - using Microsoft.Extensions.Configuration; - using Npgmq; - using Npgsql; var configuration = new ConfigurationBuilder() diff --git a/Npgmq.Test/NpgmqClientTest.cs b/Npgmq.Test/NpgmqClientTest.cs index 48b0ed0..3d0e799 100644 --- a/Npgmq.Test/NpgmqClientTest.cs +++ b/Npgmq.Test/NpgmqClientTest.cs @@ -1,11 +1,7 @@ using System.Text.Json; - using Dapper; - using DeepEqual.Syntax; - using Microsoft.Extensions.Configuration; - using Npgsql; namespace Npgmq.Test; diff --git a/Npgmq/NpgmqClient.cs b/Npgmq/NpgmqClient.cs index fa8c714..85a1d91 100644 --- a/Npgmq/NpgmqClient.cs +++ b/Npgmq/NpgmqClient.cs @@ -1,9 +1,7 @@ using System.Data; using System.Data.Common; using System.Text.Json; - using Npgsql; - using NpgsqlTypes; namespace Npgmq; diff --git a/Npgmq/NpgmqCommand.cs b/Npgmq/NpgmqCommand.cs index 1304d63..5542a38 100644 --- a/Npgmq/NpgmqCommand.cs +++ b/Npgmq/NpgmqCommand.cs @@ -1,5 +1,4 @@ using System.Data; - using Npgsql; namespace Npgmq; diff --git a/Npgmq/NpgmqCommandFactory.cs b/Npgmq/NpgmqCommandFactory.cs index 393fa35..3ea5b17 100644 --- a/Npgmq/NpgmqCommandFactory.cs +++ b/Npgmq/NpgmqCommandFactory.cs @@ -1,5 +1,4 @@ using System.Data; - using Npgsql; namespace Npgmq;