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

Simplify and optimize ModifierNotUsedAtRoot #323

Closed mrmans0n closed 3 weeks ago

mrmans0n commented 3 weeks ago

Saved one unnecessary upwards traversal. Also cleaned up a little bit, it was bothering me.