Let suppression comment affect the same line
For compatibility with i.e. Sonar, which needs suppression comment //NOSONAR in the same line of the suppressed violations and not in the next line above, I would like to see that supported in QAPlug as well.
Suggestion 1 (like suggested by QAPlug dev Jakub):
/** NOSONAR */ type of comments will suppress the next line
- // NOSONAR type of comments will suppress the same line
Suggestion 2:
Implement a flexible way to manage global suppression comments. Not just one possible comment but multiple possible comments and every one of them has the attribute "same line", which can be turned on and off.
Fixed in QAPlug 1.3.4.
-
Arnold Franke commented
Thanks a LOT for implementing this, works like a charm. This is VERY useful for us and we have immediate benefits from this feature!