mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-19 08:22:53 +00:00
445 B
445 B
selector-no-union-class-name
Disallow union class names with the parent selector (&).
.class {
&-union {
//↑
// This type usage of `&`
}
}
The following patterns are considered warnings:
.class {
&-union {}
}
.class {
&_union {}
}
.class {
&union {}
}
The following patterns are not considered warnings:
.class {
&.foo {}
}
.class {
& p {}
}