SonarQube and StyleCop Analyzers for the .NET Compiler Platform

695 views
Skip to first unread message

m...@soloplan.de

unread,
Nov 27, 2015, 5:59:42 AM11/27/15
to SonarQube
Hi,

I'm trying to setup SonarQube for our .Net code base. I got the basics running, but now I'd like to integrate StyleCop. The documentation of the StyleCop plugin says that it doesn't support the new C# 6.0 syntax yet. We're using StyleCop as a ReSharper plugin for several years and from what I'm reading the development of StyleCop has stopped (at least with respect to adding new features or new C# versions - there are still some brave people that try to get the existing code working with new ReSharper versions).
The future of StyleCop is "Roslyn based StyleCop Analyzers" (https://github.com/DotNetAnalyzers/StyleCopAnalyzers). From what I understand this is a complete rewrite based on the new Roslyn platform, but highly compatible with the previous StyleCop rules.

Now the question: is it possible to get issues reported by this analyzer into SonarQube?

Thanks,
Markus

Jorge Costa

unread,
Nov 27, 2015, 6:02:46 AM11/27/15
to m...@soloplan.de, SonarQube
I am also interested in this, and dont participating on creating a sonar plugin that is supporting any kind of Roslyn diagnostics.

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/746b90ee-d48c-4480-86e7-2f6cb5a940fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dinesh Bolkensteyn

unread,
Nov 30, 2015, 10:46:58 AM11/30/15
to SonarQube, m...@soloplan.de
Indeed, and we do plan to add the support the Roslyn StyleCopAnalyzers project (as well as any other Roslyn based analyzer) in an upcoming version of the SonarQube Scanner for MSBuild & C# plugins.

Reply all
Reply to author
Forward
0 new messages