Add F# Support to SonarQube

Please consider adding F# support to SonarQube. I understand it is available in a third-party plugin, but when purchasing a Sonar-hosted instance of SonarQube, we don’t have the option of using a third-party plugin.

You know on the Community F# Sonar Analyzer? https://github.com/jmecsoftware/sonar-fsharp-plugin
I know there is a lot to do to completely support FSharpLint and improve the user experience - but at least it works again since last year.

See also my old issue here: Any plans for a F# scanner?

+1!

I am a new SonarQube Enterprise & SonarCloud customer. We have important core code written in F# and it would be great if we can scan it with SonarQube as well.

Thanks

Can you clarify what do you mean by that?

Nothing prevent you to use third-party plugins in a SonarQube instance, even a commercial editions one.

Alexandre,

Thanks for checking in. From what I was told, we had the option of purchasing either a vendor-hosted or self-hosted version of SonarQube. In a vendor-hosted instance, the vendor controls the server and decides what can be installed on it. Since the current F# plugin is by a third-party, this would not be allowed on a vendor-hosted instance of SonarQube. We ended up purchasing a self-hosted SonarQube license, not what my company would prefer, so that we would have the freedom to install and use the third-party F# plugin.

Does that help clarify?

Brian

@BrianS you’re free to use any 3rd party analyzer (eg FSharpLint) and convert the report to the generic issue format as it is documented at https://sonarcloud.io/documentation/analysis/generic-issue/ on your own. But that requires some additional effort on your side in the build definition to run the analyzer, extract the reported issues and generate the file for SonarCloud.