twitter / compose-rules

Static checks to aid with a healthy adoption of Compose
https://twitter.github.io/compose-rules
Other
1.37k stars 93 forks source link

ModifierMissing with multi-previews #123

Closed tananaev closed 1 year ago

tananaev commented 1 year ago

Describe the bug

Looks like the ModifierMissing rule is not able to detect multipreview usage, so it flags those previews as missing modifiers. If there's a technical issue with detecting it, maybe we can at least have an exclusion by function name. Maybe by regex or even just assume that previews end with "Preview".

mrmans0n commented 1 year ago

This project is not maintained, the fork in https://github.com/mrmans0n/compose-rules continued the work.

tananaev commented 1 year ago

Moved to https://github.com/mrmans0n/compose-rules/issues/98.