Sonarqube and detekt

Hi there :slight_smile:

I checked Sonarqube has support for Detekt directly, but at the same time, Detekt has a plugin for Sonarqube.

Detekt standalone plugin has some advantage over the official implementation?


Is it possible to disable the built-in Sonarqube analysis and use only the Detekt one?


It’s not clear to me why you would want to do that. After all, “two heads are better than one”. But if you insist, you can create a Quality Profile without any rules in it and set it as the default profile. Then SonarQube won’t raise any of its own issues, although it will still calculate metrics.


Yeah, I checked that sonar is very customizable so instead of disabling it I only need to change a few rules.

1 Like