mrmans0n / compose-rules

Lint rules for ktlint/detekt aimed to contribute to a healthier usage of Compose. Actively maintained and evolved fork of the Twitter Compose rules.
https://mrmans0n.github.io/compose-rules
Other
560 stars 22 forks source link

Add Detekt 2.0 support #277

Closed jbarr21 closed 3 weeks ago

jbarr21 commented 4 months ago

Makes the custom Detekt rules compatible with Detekt v2.0 APIs.

Currently using a snapshot build, but understand if ya want to wait to merge until a 2.0 build of Detekt is released.

Addresses #276

jbarr21 commented 3 weeks ago

With the release of Detekt v1.23.7, we get the fixes needed to work with K2 & the Detekt v1 APIs. With that available, I'm closing this out, but can revisit when Detekt v2 is released at an unknown date in the future.

I saw that rennovate already updated this repo to Detekt v1.23.7