simonsmith / stylelint-selector-bem-pattern

Stylelint plugin that incorporates postcss-bem-linter
MIT License
244 stars 13 forks source link

Add failing test for at-rules not being linted #37

Closed amk221 closed 5 years ago

amk221 commented 5 years ago
/** @define foo */

.foo {
  // This is fine
}

.bar {
  // This is not fine, and gets linted correctly
}

.baz {
  @include(example);
  // This is not fine, but does not get linted correctly
}

Including a mixin breaks linting for the entire file

amk221 commented 5 years ago

I think this is a dupe actually of https://github.com/postcss/postcss-bem-linter/issues/134

simonsmith commented 5 years ago

Addressed in https://github.com/postcss/postcss-bem-linter/pull/140

amk221 commented 5 years ago

This is still failing by the way.

I tried to write a failing test in postcss-bem-linter, but it passed in there.