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
We need add a ESLint rule that will forbid :hover,:active selectors.
:hover,:active
makeStyles({ root: { // 🟢 should pass ":hover": { color: "red" }, ":active": { color: "blue" }, // 🔴 should break ":hover,:active": { color: "blue" }, }, });
For context, #495.
The text was updated successfully, but these errors were encountered:
Possibly as an option, I think it would be helpful to allow comma-separated selectors only if they all include &.
&
makeStyles({ root: { // 🟢 should pass "&:hover, &:active": { color: "blue" }, // 🔴 should break ":hover,&:active": { color: "blue" }, }, });
Sorry, something went wrong.
Waiting for partners to enable linting, considering for H2/2024
No branches or pull requests
We need add a ESLint rule that will forbid
:hover,:active
selectors.For context, #495.
The text was updated successfully, but these errors were encountered: