Skip to content

[SCSS] Selector starting with & is lowercased #4044

@ruedap

Description

@ruedap

Prettier 1.10.2
Playground link

Input:

.foo {
  &-1Bar {
  }
}

Output:

.foo {
  &-1bar {
  }
}

Expected behavior:

.foo {
  &-1Bar {
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:css/scss/lessIssues affecting CSS, Less or SCSSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.priority:highCode is printed in a way that alters the AST, breaks syntax, or is a significant regression. Urgent!

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions