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-type-no-unknown

Disallow unknown type selectors.

    unknown {}
/** ↑
 * This type selector */

This rule considers tags defined in the HTML, SVG, and MathML specifications to be known.

Options

true

The following patterns are considered violations:

unknown {}
tag {}

The following patterns are not considered violations:

input {}
ul li {}
li > a {}

Optional secondary options

ignore: ["custom-elements", "default-namespace"]

"custom-elements"

Allow custom elements.

The following patterns are considered violations:

unknown {}
x-Foo {}

The following patterns are not considered violations:

x-foo {}

"default-namespace"

Allow unknown type selectors if they belong to the default namespace.

The following patterns are considered violations:

namespace|unknown {}

The following patterns are not considered violations:

unknown {}

ignoreNamespaces: ["/regex/", /regex/, "string"]

Given:

["/^my-/", "custom-namespace"]

The following patterns are not considered violations:

custom-namespace|unknown {}
my-namespace|unknown {}
my-other-namespace|unknown {}

ignoreTypes: ["/regex/", /regex/, "string"]

Given:

["/^my-/", "custom-type"]

The following patterns are not considered violations:

custom-type {}
my-type {}
my-other-type {}