Skip to content

Update linter to error on compound ampersand selectors #83

@marlonmarcello

Description

@marlonmarcello

Let's see if we can find or create a Stylelint rule which prevents things like this. The issue in this example being that you cannot do a project-wide search for .card__description.

.card {
  &__description {
    // some code
  }
}

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