Skip to content
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

Respect stability configuration file (stabilityConfigurationPath setting) #328

Open
brentwatson opened this issue Apr 19, 2024 · 1 comment

Comments

@brentwatson
Copy link

Projects can setup a Compose Stability configuration file which define packages & classes that the compose compiler will mark as stable types:

https://developer.android.com/develop/ui/compose/performance/stability/fix#configuration-file

Is there any way for these lint rules to respect these same settings? Removing @Immutable from types and adding the package to this file seems to cause the lint rules to produce false positives for those types.

@ZacSweers
Copy link
Collaborator

Not against it but not sure how to propagate this file to a lint without duplicating configurations. They also allow for sharing config files as resources (similar to R8).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants