Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Components not linted if no immediate rule #134

Closed
AlecRust opened this issue Jul 17, 2018 · 2 comments
Closed

Components not linted if no immediate rule #134

AlecRust opened this issue Jul 17, 2018 · 2 comments

Comments

@AlecRust
Copy link

If a selector doesn't have an immediate rule the block doesn't get linted e.g.

/** @define Test */

.Test {}

.anything {

  @media (--viewport-medium) {
    width: 100%;
  }
}

.anything doesn't get linted, but it does if this is the CSS:

/** @define Test */

.Test {}

.anything {
  color: red;

  @media (--viewport-medium) {
    width: 100%;
  }
}
@simonsmith
Copy link
Collaborator

Related to #119 - Need to adjust that solution to support @media

@simonsmith
Copy link
Collaborator

Fixed in #140

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants