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.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| README.md | 5 years ago | |
| index.js | 5 years ago | |
README.md
at-rule-no-unknown
Disallow unknown at-rules.
@unknown (max-width: 960px) {}
/** ↑
* At-rules like this */
This rule considers at-rules defined in the CSS Specifications, up to and including Editor's Drafts, to be known.
Options
true
The following patterns are considered violations:
@unknown {}
The following patterns are not considered violations:
@charset "UTF-8";
@CHARSET "UTF-8";
@media (max-width: 960px) {}
@font-feature-values Font One {
@styleset {}
}
Optional secondary options
ignoreAtRules: ["/regex/", /regex/, "string"]
Given:
["/^my-/", "custom"]
The following patterns are not considered violations:
@my-at-rule "x.css";
@my-other-at-rule {}
@custom {}