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

Failure to recognise NOSONAR comments in HTL #230

Open
toniedzwiedz opened this issue May 23, 2022 · 1 comment
Open

Failure to recognise NOSONAR comments in HTL #230

toniedzwiedz opened this issue May 23, 2022 · 1 comment
Labels
bug help wanted htl Issues related to HTL language

Comments

@toniedzwiedz
Copy link
Collaborator

Originally mentioned by @boobootoo2 and @bhartm3 in comments under #78

The comment below does not suppress the Sonar Error. I am able to suppress HTML issues however.

<!—/* //NOSONAR */—>
@toniedzwiedz
Copy link
Collaborator Author

This appears to work in the HTML plugin, but not in the HTL rules in the AEM Rules Plugin.
https://stackoverflow.com/questions/58682506/how-can-i-mark-this-line-in-html-file-to-be-ignored-by-sonar-rules

@toniedzwiedz toniedzwiedz added the htl Issues related to HTL language label May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help wanted htl Issues related to HTL language
Projects
None yet
Development

No branches or pull requests

1 participant