Skip to content

Commit

Permalink
chore: add commment and link
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke committed Jun 17, 2024
1 parent bb43c23 commit 4cb079f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ impl Rule for NoUnknownProperty {
let node = ctx.query();
let property_name = node.name().ok()?.text().to_lowercase();
if !property_name.starts_with("--")
// Ignore `composes` property.
// See https://github.com/css-modules/css-modules/blob/master/docs/composition.md for more details.
&& property_name != "composes"
&& !is_known_properties(&property_name)
&& !vendor_prefixed(&property_name)
Expand Down

0 comments on commit 4cb079f

Please sign in to comment.