Is there any configuration for disabling type-reso...
# detekt
t
Is there any configuration for disabling type-resolution for
UnusedImport
rule? Since type resolution does not work with kotlin synthetics, and our project is full of them, this rule give me 1k+ false-positives
g
Sadly not. I’d rather invite you to remove kotlin synthetics as it’s deprecated in favour of ViewBindings.
t
Thanks, we are pretty fine using them. Not everything that is deprecated should be removed without consideration =)
g
Legit. Though we’re not probably going to address this issue on the detekt’s side. However, If you find a workaround, we can list it in the official documentation.