Skip to content

Conversation

@DKvistgaard
Copy link

This extends the fix in #140, but fixes linting for selectors that only includes at-rules with @include within it for better Sass/SCSS support.

The error:

/** @define foo */

.foo {}

// This selector is ignored even though it's an error, as it only contains
// an @include at-rule
.bar {
    @include col-init();
}

// This is also ignored even though it contains the allow @extend at-rule as it
// also includes the @include at-rule and no other styling properties
.test {
    @include col-init();

    @extend %test-extend;
}

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant