See all NOSONAR / @SuppressWarnings

I would like to know if it is possible to list the NOSONAR or @SuppressWarnings ("…"), in the interface of the sonarqube. Or if it is possible with the Web API

Hi,

you may activate the rule squid:NoSonar, available for a lot of languages and the Java rule squid:S1309 with a severity not included in your Quality Gate, e.g. severity INFO.
see
https://yoursonarhost/coding_rules?open=squid%3ANoSonar&q=Nosonar
https://yoursonarhost/coding_rules?open=squid%3AS1309&rule_key=squid%3AS1309

Regards,
Gilbert

2 Likes