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

lint: Fail the build/lint when an invalid CSS rule is found #462

Open
miroslavstastny opened this issue Nov 6, 2023 · 0 comments
Open
Labels
💅 enhancement New feature or request

Comments

@miroslavstastny
Copy link
Member

When an invalid CSS rule is found during runtime, Griffel does not inject the rule and logs an error to console:
image

When the same rule is found during build time, Griffel omits the rule but neither the build (CSS extraction) nor the Lint fails.
One of them should report the error so that developers are informed as early in the development cycle as possible.

@layershifter layershifter added the 💅 enhancement New feature or request label Nov 6, 2023
@layershifter layershifter changed the title Fail the build/lint when an invalid CSS rule is found. lint: Fail the build/lint when an invalid CSS rule is found Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💅 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants