diff --git a/Directory.Build.props b/Directory.Build.props index de4ae8456..639770b43 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 18f62f056..50074d866 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 41d725344..877b3b891 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 d6a4af76e..d04fb3f83 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 d501dd384..c328a729c 100644 --- a/test/Renci.SshNet.IntegrationTests/HostConfig.cs +++ b/test/Renci.SshNet.IntegrationTests/HostConfig.cs @@ -29,7 +29,7 @@ public static HostConfig Read(ScpClient scpClient, string path) while ((line = sr.ReadLine()) != null) { // skip comments - if (line.StartsWith("#")) + if (line.StartsWith('#')) { continue; }