Skip to content

False positive for no-invalid-position-declaration inside a mixin #369

@Vinnl

Description

@Vinnl

We have the following in our code, which used to be fine, but now gets flagged for no-invalid-position-declaration after updating to the latest versions:

@mixin company-name-area {
  @media screen and (min-width: $screen-lg) {
    min-width: 200px;
  }
}

As far as I can see this should be valid (though admittedly, I haven't really used SCSS mixins myself before). It looks similar to #364.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions