문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top