New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elements accept and respect a Modifier parameter in Jetpack Compose #5276
Comments
Detekt should be framework independent so I don't think we should implement this. But there is already a rule set that implements nearly all of those: https://github.com/appKODE/detekt-rules-compose I use it on my project and it works great. I think that this issue should be open there with the missing parts that are not yet implemented. |
Agree on @BraisGabin message. |
Another rules library that may be helpful: https://github.com/twitter/compose-rules |
Agree with the comments above - and the Twitter rule set would be a great one to showcase in the marketplace once #5191 is done. |
Thanks for the replies! |
Relevant convention:
https://github.com/androidx/androidx/blob/androidx-main/compose/docs/compose-api-guidelines.md#elements-accept-and-respect-a-modifier-parameter
Rule constraints that is reasonable to implemented in Detekt:
The text was updated successfully, but these errors were encountered: