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

Warn if detecting a non-top level ComponentStyle/ComponentVariant/Keyframes declaration #26

Open
bitspittle opened this issue Jan 22, 2024 · 0 comments
Labels
IDE: Inspection Some information that should be surfaced to the user (tooltip, notification, lint warning)
Milestone

Comments

@bitspittle
Copy link
Contributor

// Valid
val SomeStyle by ComponentStyle { ... }

// Invalid
class Sneaky {
   val SomeStyle by ComponentStyle { ... }
}
@bitspittle bitspittle added the IDE: Inspection Some information that should be surfaced to the user (tooltip, notification, lint warning) label Jan 22, 2024
@bitspittle bitspittle added this to the 1.0 milestone Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE: Inspection Some information that should be surfaced to the user (tooltip, notification, lint warning)
Projects
None yet
Development

No branches or pull requests

1 participant