Closed msfjarvis closed 2 years ago
I think we can do something like this here:
ModifierMissing
rule. Adding an allowlist of names would also be interesting so that could be done on top of that too.
and then filter out the annotations with that prefix in the ModifierMissing rule.
I'm assuming you meant suffix here?
Other than that, sounds like a plan! Would it be easier to do this internally or can I send a PR?
Haha, yes, I meant suffix 🤦
No worries, I am already on it. I'll do them incrementally but likely ship them altogether in the next release
Is your feature request related to a problem? Please describe.
Compose now supports providing multiple preview annotations through a "proxy" annotation as documented here, and this currently trips the
ModifierMissing
lint since it only checks for thePreview
annotation.Describe the solution you'd like
One of these two, depending on complexity
Preview
thereDescribe alternatives you've considered
🤷🏼
Additional context