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
Vinay Gaba
06/24/2022, 4:11 PM
@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!