Skip to content

Commit

Permalink
Document declaration-property-value-no-unknown syntax reference (#8193
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ryo-manba authored Dec 14, 2024
1 parent 6405840 commit dc84af3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rules/declaration-property-value-no-unknown/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ a { top: unknown; }

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.

You can filter the [CSSTree Syntax Reference](https://csstree.github.io/docs/syntax/) to find out what value syntax is known for a property.

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.
Expand Down

0 comments on commit dc84af3

Please sign in to comment.