We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
undefined
ESLint plugin should prevent passing undefined to properties:
makeStyles({ // ❌ should throw root: { color: undefined }, // ✅ should pass root: { color: 'red' } })
The text was updated successfully, but these errors were encountered:
This rule should also disallow empty strings
makeStyles({ // ❌ should throw root: { color: '' } })
Sorry, something went wrong.
Agree, however [content](https://developer.mozilla.org/en-US/docs/Web/CSS/content) should have a special handling in errors:
content](https://developer.mozilla.org/en-US/docs/Web/CSS/content)
makeStyles({ // ❌ should throw and recommend to do `content: '""'` root: { ":before" { content: '' } }, // ✅ all good root: { ":before" { content: '""' } } })
No branches or pull requests
ESLint plugin should prevent passing
undefined
to properties:The text was updated successfully, but these errors were encountered: