hello!
SonarCloud incorrectly reports import com.github.michaelbull.result.Result as an unused import under rule kotlin:S1128, even though the import is used by Kotlin’s type inference and is required for correct compilation and IDE behavior.
Any help appreciated!
Thanks,
Damien
ALM: Github
CI: GitHub Actions
Language: Kotlin
SonarCloud Organization: thriveglobal
Rule: kotlin:S1128 — “Unused imports should be removed”
Scope: False positive
Expected behavior: No issue raised
Actual behavior: SonarCloud flags valid import as unused
