Skip to content

Commit

Permalink
suppress more issues
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Apr 4, 2024
1 parent ff19baa commit 636b0f3
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions starsky/build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ namespace build;
[SuppressMessage("Sonar",
"S2629: Don't use string interpolation in logging message templates",
Justification = "Not production code.")]
[SuppressMessage("Sonar",
"S6664: Reduce the number of Information logging calls within this code block",
Justification = "Not production code.")]
[ShutdownDotNetAfterServerBuild]
public sealed class Build : NukeBuild
{
Expand Down
4 changes: 4 additions & 0 deletions starsky/build/helpers/DotnetGenericHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using build;
using Nuke.Common.ProjectModel;
Expand All @@ -9,6 +10,9 @@

namespace helpers
{
[SuppressMessage("Sonar",
"S6664: Reduce the number of Information logging calls within this code block",
Justification = "Not production code.")]
public static class DotnetGenericHelper
{
/// <summary>
Expand Down
4 changes: 4 additions & 0 deletions starsky/build/helpers/DotnetTestHelper.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System.Diagnostics.CodeAnalysis;
using System.IO;
using build;
using Nuke.Common.IO;
Expand All @@ -9,6 +10,9 @@

namespace helpers
{
[SuppressMessage("Sonar",
"S6664: Reduce the number of Information logging calls within this code block",
Justification = "Not production code.")]
public static class DotnetTestHelper
{
static bool DirectoryExists(string path)
Expand Down
3 changes: 3 additions & 0 deletions starsky/build/helpers/SonarQube.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ namespace helpers
[SuppressMessage("Sonar",
"S2629: Don't use string interpolation in logging message templates",
Justification = "Not production code.")]
[SuppressMessage("Sonar",
"S6664: Reduce the number of Information logging calls within this code block",
Justification = "Not production code.")]
public static class SonarQube
{
public const string SonarQubePackageName = "dotnet-sonarscanner";
Expand Down
3 changes: 3 additions & 0 deletions starsky/build/helpers/TrxParserHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

namespace helpers;

[SuppressMessage("Sonar",
"S6664: Reduce the number of Information logging calls within this code block",
Justification = "Not production code.")]
public static class TrxParserHelper
{
/// <summary>
Expand Down

0 comments on commit 636b0f3

Please sign in to comment.