declaration-property-value-no-unknown
Disallow unknown values for properties within declarations.
a { top: unknown; }
/** ↑ ↑
* property and value pairs like these */
This rule considers values for properties defined within the CSS specifications to be known. You can use the propertiesSyntax
and typesSyntax
secondary options to extend the syntax.
This rule is only appropriate for CSS. You should not turn it on for CSS-like languages, such as Sass or Less, as they have their own syntaxes.
This rule is experimental with some false negatives that we'll patch in minor releases.
It sometimes overlaps with:
If duplicate problems are flagged, you can turn off the corresponding rule.