Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uppercase letters of class names connected in nest are converted to lowercase. #42

Open
unt-watanabe opened this issue Jul 31, 2020 · 0 comments

Comments

@unt-watanabe
Copy link

Execution environment

Node.js: v12.13.0
gulp: v4.0.2
gulp-csscomb: v3.1.0

What I did

Concatenated class names using ampersands within the nest of scss, sass, less files.

Expected result

Uppercase letters are sorted as they are.

.camelCase {
  &__camelCase {
    display: block;
    position: relative;
    margin: 0;
    &--camelCase {
      display: block;
      position: relative;
      margin: 0;
    }
  }
}

Actual result

Uppercase letters in class names concatenated by ampersands in nests converted to lowercase.

.camelCase {
  &__camelcase {
    display: block;
    position: relative;
    margin: 0;
    &--camelcase {
      display: block;
      position: relative;
      margin: 0;
    }
  }
}
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

No branches or pull requests

1 participant