From 98db6c80e3ce5183a1817c87c05b4dd5bc9cffa3 Mon Sep 17 00:00:00 2001 From: Jean-Sebastien Carle <29762210+jscarle@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:19:53 -0500 Subject: [PATCH] Moved IDE0005 warning configuration. --- src/Renci.SshNet/.editorconfig | 4 ---- src/Renci.SshNet/Security/BouncyCastle/.editorconfig | 4 ++++ src/Renci.SshNet/Security/Chaos.NaCl/.editorconfig | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Renci.SshNet/.editorconfig b/src/Renci.SshNet/.editorconfig index fce5e66b4..c5f4bdf61 100644 --- a/src/Renci.SshNet/.editorconfig +++ b/src/Renci.SshNet/.editorconfig @@ -159,7 +159,3 @@ dotnet_diagnostic.IDE0048.severity = none # IDE0305: Collection initialization can be simplified # https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0305 dotnet_diagnostic.IDE0305.severity = none - -# IDE0005: Remove unnecessary using directives -# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0005 -dotnet_diagnostic.IDE0005.severity = suggestion diff --git a/src/Renci.SshNet/Security/BouncyCastle/.editorconfig b/src/Renci.SshNet/Security/BouncyCastle/.editorconfig index 9440813d4..7b2f03592 100644 --- a/src/Renci.SshNet/Security/BouncyCastle/.editorconfig +++ b/src/Renci.SshNet/Security/BouncyCastle/.editorconfig @@ -4,3 +4,7 @@ generated_code = true # Do not reported any diagnostics for "imported" code dotnet_analyzer_diagnostic.severity = none + +# IDE0005: Remove unnecessary using directives +# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0005 +dotnet_diagnostic.IDE0005.severity = none diff --git a/src/Renci.SshNet/Security/Chaos.NaCl/.editorconfig b/src/Renci.SshNet/Security/Chaos.NaCl/.editorconfig index 9440813d4..7b2f03592 100644 --- a/src/Renci.SshNet/Security/Chaos.NaCl/.editorconfig +++ b/src/Renci.SshNet/Security/Chaos.NaCl/.editorconfig @@ -4,3 +4,7 @@ generated_code = true # Do not reported any diagnostics for "imported" code dotnet_analyzer_diagnostic.severity = none + +# IDE0005: Remove unnecessary using directives +# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0005 +dotnet_diagnostic.IDE0005.severity = none