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 Naming to ignore overridden function definitions #304

Closed mrmans0n closed 1 month ago

mrmans0n commented 1 month ago

While looking into #290 I realized that we shouldn't be yapping about naming for overridden funs, as they might come from third party libraries we don't have control over. As long as the rule is applied to the interface / abstract/open class, it should be enough. FWIW we do the same exclusion for some of the Modifier rules (and for the same reason), so this is nothing new.

Fixes #290