disable sonar rule in code 1

disable sonar rule in code

some code you don't want sonar to look at //NOSONAR

Here is what the above code is Doing:
1. The first line is a comment that tells SonarQube to ignore the next line.
2. The second line is the code you want to ignore.
3. The third line is a comment that tells SonarQube to stop ignoring the next line.

Similar Posts