Question

In my current project we have used a lot of comments explaining what the code does and so on. While running sonar for this these comments are causing lot of issues, I wanted to know if there is a way to disable comments check in sonarqube.

Was it helpful?

Solution

If you have administrator permissions, you can turn any rule on or off (or sometimes reconfigure it) in the quality profile. Navigate to your quality profile, find the rule you want to disable, and turn it off.

See http://docs.codehaus.org/display/SONAR/Configuring+Rules for full details.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top