Hello Sonar Community!
It’s been a big week here in the Community, with lots of help and guidance from you, our members, to improve our products and your experience with them.
We’re grateful when you take the time to do that, so like every week we want to spend some time acknowledging everyone who prompted interesting discussions and gave us feedback to help us continuously improve.
SonarQube:
- We only display a single issue tag in SonarQube and SonarCloud’s UI, while there’s space for a lot more. We’re going to work on this. Thanks for the push @rboer!
SonarLint:
-
Thanks @Zadj for pointing out that the error message in SonarLint for Visual Studio about NodeJS versions is outdated. We also need to update the docs. Fixes are on the way!
-
SonarLint for IntelliJ can end up in a state where it spawns a lot of stuck threads. Thanks @Vaclav_Haisman! SLI-1386
-
SonarLint for IntelliJ can also crash when getting the length of a virtual file, as reported by @dalemb. Thanks! SLI-1387
Rule and Language Improvements:
-
Thanks to @davoaux for pointing out a false-positive with
java:S4605
whenbasePackageClasses
is used. SONARJAVA-4967 -
It’s time to update the version of stylelint that powers our CSS analyzer, after a push from @oseung.kwon reporting a false-positive with
css:S4665
. Thanks! JS-144 -
Kudos to @Martin_Cizek for reporting this false positive on
javascript:S6847
, where an issue is raised to improve accessibility on event handlers that don’t involve interactivity. JS-145 -
We shouldn’t report issues when the semantic model is incomplete for
java:S1854
, because it’s just too noisy! Thanks for the report @naraesk! SONARJAVA-4960 -
java:s1941
is raising an issue in the context of lamda expressions, which is a clear false-positive. Thanks again @naraesk! SONARJAVA-4964 -
Shoutout to @mgirolet-gl for posting about this issue with
csharpsquid:S1066
that has also been confirmed as a false-positive on GitHub. Detailed reports like this are amazing, and above and beyond what we expect. -
Thanks @LucasDesenv for helping us add another repro case to SONARJAVA-4917.
-
We made a mistake implementing
java:S6916
and the rule suggests adding guards on constant cases, which doesn’t compile. Thanks for the report @ivaniesta14! SONARJAVA-4962 -
Trailing backslashes in text blocks are causing our Java analysis to crash. Thanks for the repo @hd42! SONARJAVA-4963
Once more, we extend our thanks to everyone mentioned here - and those we may have missed - for their efforts in strengthening this community and enhancing our Sonar products.
Please leave your own recognitions below – whether for another community member or a SonarSourcer who assisted you this week. If there’s someone you think should be acknowledged in next week’s roundup, don’t hesitate to let us know.
@ganncamp, @Colin, and @leith.darawsheh