https://kotlinlang.org logo
#compose
Title
# compose
v

Vinay Gaba

06/24/2022, 3:45 PM
Wrote an article talking about the lint rules that Compose ships with by default and where to even find these lint rules. Finally, I talk about how you can update the severity of some of the default rules if it makes sense for your codebase. Read here - https://www.jetpackcompose.app/articles/which-lint-rules-does-jetpack-compose-ship-with
👍🏼 1
👍 6
🙏 1
l

Louis Pullen-Freilich [G]

06/24/2022, 4:06 PM
Wouldn’t it be nice if there was a consolidated list of all Lint rules that are being exposed by Compose?
This is a fair point, it should probably be exposed more closely to the Compose docs as well as on the Android lint documentation. Out of curiosity, did you try looking / where would you have expected to find this sort of information?
g

Grégory Lureau

06/24/2022, 4:08 PM
Could be even better to have a list that also have open sources rules coming (and not just google).
v

Vinay Gaba

06/24/2022, 4:10 PM
@Louis Pullen-Freilich [G] I did a simple Google search and then also looked in Android Code Search (where I did find hits but with a lot of noise in the results). Eventually, the tip by Tor Norbye seems like the best place to find this information however I think very few people know about its existence. That was the sole reason to write this article tbh 😅 I was blown away to even learn something like this existed
@Grégory Lureau Yeah for sure I think that would be valuable! I might or might not have something to share real soon 😉
g

Grégory Lureau

06/24/2022, 4:14 PM
@Vinay Gaba I thought about doing it some months ago and stopped, I'll stay tuned!
🚀 1
123 Views