Skip to content

eslint-plugin: forbid comma separated selectors in selectors#499

Description

We need add a ESLint rule that will forbid :hover,:active selectors.

makeStyles({
  root: {
     // 馃煝 should pass
    ":hover": { color: "red" },
    ":active": { color: "blue" },
    // 馃敶 should break
    ":hover,:active": { color: "blue" },
  },
});

For context, #495.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions