diff --git a/Directory.Build.props b/Directory.Build.props index de4ae845..639770b4 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -34,9 +34,8 @@ Use fixed version of analyzers. --> - - + - + diff --git a/build/nuget/SSH.NET.nuspec b/build/nuget/SSH.NET.nuspec index 18f62f05..50074d86 100644 --- a/build/nuget/SSH.NET.nuspec +++ b/build/nuget/SSH.NET.nuspec @@ -17,10 +17,10 @@ ssh scp sftp - + - + diff --git a/src/Renci.SshNet/Renci.SshNet.csproj b/src/Renci.SshNet/Renci.SshNet.csproj index 41d72534..877b3b89 100644 --- a/src/Renci.SshNet/Renci.SshNet.csproj +++ b/src/Renci.SshNet/Renci.SshNet.csproj @@ -14,7 +14,7 @@ - + diff --git a/test/.editorconfig b/test/.editorconfig index d6a4af76..d04fb3f8 100644 --- a/test/.editorconfig +++ b/test/.editorconfig @@ -130,6 +130,11 @@ dotnet_diagnostic.CA1711.severity = none # We do not care about this for unit tests. dotnet_diagnostic.CA1720.severity = none +# CA1861: Avoid constant arrays as arguments +# +# We do not care about this for unit tests. +dotnet_diagnostic.CA1861.severity = none + # CA5351: Do not use broken cryptographic algorithms # # We do not care about this for unit tests. diff --git a/test/Renci.SshNet.IntegrationTests/HostConfig.cs b/test/Renci.SshNet.IntegrationTests/HostConfig.cs index d501dd38..c328a729 100644 --- a/test/Renci.SshNet.IntegrationTests/HostConfig.cs +++ b/test/Renci.SshNet.IntegrationTests/HostConfig.cs @@ -29,7 +29,7 @@ namespace Renci.SshNet.IntegrationTests while ((line = sr.ReadLine()) != null) { // skip comments - if (line.StartsWith("#")) + if (line.StartsWith('#')) { continue; }