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

Don't add whitespaceto //NOSONAR comments #268

Merged
merged 1 commit into from Apr 14, 2023
Merged

Conversation

MrSpoony
Copy link
Contributor

@MrSpoony MrSpoony commented Apr 13, 2023

When using sonarqube, the //NOSONAR can be used to disable SONAR parsing for this line on false-positives.

See here.

This only works if there is no space between the slashes and the NOSONAR.

Just another exception to the rule :)

@mvdan
Copy link
Owner

mvdan commented Apr 13, 2023

Sigh, yet another one that doesn't care about the standard :) Thanks for the patch.

@mvdan mvdan merged commit ea3d413 into mvdan:master Apr 14, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants