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
550 stars 21 forks source link

Update ParameterNaming to use treatAsLambda instead of treatAsComposableLambda #299

Closed mrmans0n closed 1 month ago

mrmans0n commented 1 month ago

I just noticed I used the wrong parameter when updating this rule. This introduces a breaking change though, but it's good... as it will spare us from future issues.

ParameterNaming lambdas shouldn't be just composable lambdas, but all lambdas instead.