Sonar's Kotlin analysis is now based on K2 and supports Kotlin 2.1

Hello Kotlin developers,

In my last update about Kotlin support, I announced that SonarQube supports scanning Kotlin 2.0 code.

We spent the last months upgrading the core of our Kotlin analyzer to move it to the K2 compiler.
This brings the support of Kotlin 2.1, and all our rules that were rewritten to benefit from the K2 APIs are now more precise (i.e., fewer false-positive findings).

Alex

1 Like