Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do not merge] Enable razor in nuget and Sonarlint #8660

Closed
wants to merge 6 commits into from

Conversation

andrei-epure-sonarsource
Copy link
Contributor

@andrei-epure-sonarsource andrei-epure-sonarsource commented Jan 31, 2024

Revert #7988 and test ITs and UTs on the pipeline.

Copy link

sonarcloud bot commented Feb 7, 2024

Quality Gate Failed Quality Gate failed

Failed conditions

3 New issues
1 Security Hotspot

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

@@ -133,6 +133,8 @@ public void RegisterNodeAction<TSyntaxKind>(GeneratedCodeRecognizer generatedCod
public void RegisterNodeActionInAllFiles<TSyntaxKind>(Action<SonarSyntaxNodeReportingContext> action, params TSyntaxKind[] syntaxKinds) where TSyntaxKind : struct =>
analysisContext.RegisterSyntaxNodeAction(c => action(new(this, c)), syntaxKinds);

// This function will always return true for non-Razor files.
// Otherwise, it returns true if the rule is not noisy on Razor files and not a test-only rule.
internal bool ShouldAnalyzeRazorFile(SyntaxTree sourceTree) =>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the name is quite counter intuitive

Copy link

sonarcloud bot commented Feb 7, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@pavel-mikula-sonarsource pavel-mikula-sonarsource moved this from In progress to To do in Best Kanban Feb 20, 2024
Best Kanban automation moved this from To do to Done May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Best Kanban
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant