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

Add NOSONAR comment #3805

Merged
merged 4 commits into from
Jan 16, 2024
Merged

Add NOSONAR comment #3805

merged 4 commits into from
Jan 16, 2024

Conversation

martyn-w
Copy link
Contributor

@martyn-w martyn-w commented Jan 16, 2024

Trello card

Fix sonarcloud issue with new event card component

Context

SonarCloud code analysis is incorrectly identifying a code snippet as invalid as it does not appear to have a wrapping <ul> container - in the fact the element is wrapped by a <ul> generated in a parent template

Changes proposed in this pull request

Mark the <li> element as ignored for analysis in SonarCloud

Guidance to review

Verify there are no errors raised in SonarCloud

@github-actions github-actions bot added the ruby Pull requests that update Ruby code label Jan 16, 2024
ekumachidi
ekumachidi previously approved these changes Jan 16, 2024
Add explanatory comment
ekumachidi
ekumachidi previously approved these changes Jan 16, 2024
Co-authored-by: Ekuma Chidi <7931750+ekumachidi@users.noreply.github.com>
Copy link

Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

5 New issues
0 Security Hotspots
96.3% Coverage on New Code
0.2% Duplication on New Code

See analysis details on SonarCloud

@martyn-w martyn-w merged commit d030ed6 into master Jan 16, 2024
22 checks passed
@martyn-w martyn-w deleted the fix-sonarcloud-li-issue branch January 16, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants