|
1 vuosi sitten | |
---|---|---|
.. | ||
README.md | 1 vuosi sitten | |
index.js | 1 vuosi sitten |
Specify a list of disallowed pseudo-element selectors.
a::before {}
/** ↑
* This pseudo-element selector */
This rule ignores:
::#{$variable} {}
array|string|regex
: ["array", "of", "unprefixed", "pseudo-elements" or "regex"]|"pseudo-element"|/regex/
Given:
["before", "/^my-/i"]
The following patterns are considered violations:
a::before {}
a::my-pseudo-element {}
a::MY-OTHER-pseudo-element {}
The following patterns are not considered violations:
a::after {}
a::not-my-pseudo-element {}