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.

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top