Sha256: bd7c5e0e20a3233f10c9a65a545e487b718648215ba18e9bf07949989ecfaf66
Contents?: true
Size: 496 Bytes
Versions: 24
Compression:
Stored size: 496 Bytes
Contents
# selector-no-redundant-nesting-selector Disallow redundant nesting selectors (`&`). ```scss p { & a {} //↑ // This type of selector } ``` The following patterns are considered warnings: ```scss p { & a {} } ``` ```scss p { & > a {} } ``` ```scss p { & .class {} } ``` ```scss p { & + .foo {} } ``` The following patterns are *not* considered warnings: ```scss p { &.foo {} } ``` ```scss p { .foo > & {} } ``` ```scss p { &, .foo, .bar { margin: 0; } } ```
Version data entries
24 entries across 24 versions & 1 rubygems