Sha256: 89a8a39d42ce17548f5bf319178e475aa5e7bbde0db84be76d225163babcfdf4

Contents?: true

Size: 445 Bytes

Versions: 24

Compression:

Stored size: 445 Bytes

Contents

# selector-no-union-class-name

Disallow union class names with the parent selector (`&`).

```scss
.class {
  &-union {
//↑
// This type usage of `&`
  }
}
```

The following patterns are considered warnings:

```scss
.class {
  &-union {}
}
```

```scss
.class {
  &_union {}
}
```

```scss
.class {
  &union {}
}
```

The following patterns are *not* considered warnings:

```scss
.class {
  &.foo {}
}
```

```scss
.class {
  & p {}
}
```

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
trusty-cms-6.3.1 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-5.0.7 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-5.0.6 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-5.0.5 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-5.0.4 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-5.0.3 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-5.0.2 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-5.0.1 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.3.5 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-5.0.0 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.3.4 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.3.3 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.3.2 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.3.1 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.3 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.2.3 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.2.2 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.2.1 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.2 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md
trusty-cms-4.1.9 node_modules/stylelint-scss/src/rules/selector-no-union-class-name/README.md