Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Philipp Partosch 46a936d7de added all files to project 2 years ago
..
README.md added all files to project 2 years ago
index.js added all files to project 2 years ago

README.md

selector-pseudo-element-allowed-list

Specify a list of allowed pseudo-element selectors.

  a::before {}
/**  ↑
 * This pseudo-element selector */

This rule ignores:

  • CSS2 pseudo-elements i.e. those prefixed with a single colon
  • selectors that use variable interpolation e.g. ::#{$variable} {}

Options

array|string|regex: ["array", "of", "unprefixed", "pseudo-elements" or "regex"]|"pseudo-element"|/regex/

Given:

["before", "/^my-/i"]

The following patterns are considered violations:

a::after {}
a::not-my-pseudo-element {}

The following patterns are not considered violations:

a::before {}
a::my-pseudo-element {}
a::MY-OTHER-pseudo-element {}