Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ x86/
*.class
*.log
.vscode/


#Ignore vscode AI rules
.github/instructions/codacy.instructions.md
1 change: 1 addition & 0 deletions src/Analyzer/Analyzer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<OutputType>Exe</OutputType>
<TargetFrameworks>net6</TargetFrameworks>
<RootNamespace>CodacyCSharp.Analyzer</RootNamespace>
<NoWarn>$(NoWarn);AD0001</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.11.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/Analyzer/CodeAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class CodeAnalyzer : Codacy.Engine.Seed.CodeAnalyzer, IDisposable
private readonly ImmutableArray<DiagnosticAnalyzer> availableAnalyzers;
private readonly DiagnosticsRunner diagnosticsRunner;
private readonly string tmpSonarLintFolder;
private static HashSet<string> blacklist = new HashSet<string> { "S1144", "S2325", "S2077" };
private static HashSet<string> blacklist = new HashSet<string> { "S1144", "S2325", "S2077","AD0001" };

public static bool IsInBlacklist(string id)
{
Expand Down