rules repository

G-1910 – Avoid using the NOSONAR marker.

SonarQube uses the `NOSONAR` marker to quickly exclude false positives. But when used often and increasingly this is a potential sign of hidden quality issues. Furthermore, a `NOSONAR` marker hides all issues on a line. Without a comment, the reader does not know why it was introduced. A more powerful alternative is to use the dbLinter marker, which can be set for various scopes (file, statement, function or procedure). The syntax is `@DBLINTER IGNORE(rule1 [, rule2]...) [comment]`.

Tags: General.

Quality area: Maintainability. Severity: Info. Fixing time: Other.

No rule selected