postcss-bem-linter icon indicating copy to clipboard operation
postcss-bem-linter copied to clipboard

does not work with SASS mixins and ampersand selector

Open AndyOGo opened this issue 9 years ago • 1 comments

The following code incorrectly lints: Invalid component selector "&:hover"

@mixin link {
  color: blue;

  &:hover {
    color: red;
  }
}

.link {
  @include link();
}

Note With declarative style of Less this is not a problem.

AndyOGo avatar Dec 05 '16 12:12 AndyOGo

🎂 🎂 🎂 🎂 This issue is 1 year old today. Any progress?

tipsy avatar Dec 05 '17 14:12 tipsy