Skip to content

💅 CSS font-feature-values rules are not ignored by noUnknownProperty #6567

@jacobrask

Description

@jacobrask

Environment information

Biome 5f42630

Rule name

lint/correctness/noUnknownProperty

Playground link

https://biomejs.dev/playground/?code=QABmAG8AbgB0AC0AZgBlAGEAdAB1AHIAZQAtAHYAYQBsAHUAZQBzACAAIgBUAGUAcwB0ACIAIAB7AAoAIAAgAEAAcwB0AHkAbABlAHMAZQB0ACAAewAKACAAIAAgACAAcwBvAG0AZQAtAGYAZQBhAHQAdQByAGUAOgAgADEAOwAKACAAIAB9AAoAfQAKAA%3D%3D&language=css

Expected result

Any declarations are allowed inside the @namespace rules in @font-feature-values. It's how you define custom idents. The noUnknownProperty rule should not trigger.

See https://developer.mozilla.org/en-US/docs/Web/CSS/@font-feature-values#using_styleset_in_a_font-feature-values_rule

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

Labels

S-Needs triageStatus: this issue needs to be triaged

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions