Domanda

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.

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top