Pergunta

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.

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top