Incorrect Lint Warnings on Kotlin (kotlin:S6619, kotlin:S1128)

Please provide

  • Operating system: macOS
  • SonarQube for IntelliJ plugin version: 10.27.1.81796
  • IntelliJ version: Android Studio Narwhal | 2025.1.1 Patch 1
  • Programming language you’re coding in: Kotlin
  • Is connected mode used: No
    • SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?):

And a thorough description of the problem / question:

kotlin:S6619


String category is a nullable parameter yet it warns that null-safe is no longer needed but removing it will result to compilation error.

kotlin:S1128


Koin’s Module is being used yet the lint warning for unused import is showing.

Note that Kotlin plugin is K2 mode.

Hey there.

I’ve moved your post to the category to report false-positives. Please also take a look at this post:

Specfially, please include text-based samples of code, not screenshots, that reproduce the issue!

Thank you for the report.