The current version of SonarLint for Visual Studio is 8.6.0. Could you upgrade and make sure this is working the same way before I escalate to the developers, please?
The mapping is based on the Rule Severity, rather than the Type. This rule has Minor severity in our default Quality Profile. You can change the resulting VS severity by increasing the Sonar Rule severity to Major or higher
that’s also what I concluded. Still, I find it troublesome to ignore the issue type in the analyzer severity.
Yes, it isn’t possible to map type + severity uniquely to severity only, but ignoring the type doesn’t feel right.
Hello Christoph,
We appreciate your feedback and we understand how you would need more flexibility to map the rules severities to Visual Studio severities. However this is not in our current roadmap. We’ll keep a record of this and continue to look out for similar requests. We’ll update this thread if anything changes. Thank you.