Details
Description
Hi all,
It would be nice if for some rules NOSONAR could be deactivated so that it is processed even on lines of code marked with NOSONAR.
The concrete case I have is that I want to have a rule (e.g. commentPatternMatcher) that checks if the NOSONAR comment is commented.
Example:
if(<violation>) //NOSONAR
and
if(<violation> //NOSONAR the reason for nosonar is that and that
The NOSNAR shall work for all rules except the one that (e.g. with a flag) has deactivated it.
With this it would be possible to create a rule that only is triggered if a developers places a NOSONAR comment without commenting it.
Some more details can be found here:
http://sonar.15.n6.nabble.com/RegexpSinglelineJavaCheck-does-not-recognize-quot-NOSONAR-quot-td4564993.html
Best regards,
Florian