Skip to content

Fix property-no-unknown false positive for font-display #9115

@Mister-Hope

Description

@Mister-Hope

What minimal example or steps are needed to reproduce the bug?

mister-hope@mac-mini-studio ecosystem % pnpm lint

> @vuepress/ecosystem@ lint /Users/mister-hope/projects/ecosystem
> oxlint --fix --type-aware --type-check --report-unused-disable-directives --deny-warnings && oxfmt && stylelint **/*.{css,html,scss,vue} --fix

Found 0 warnings and 0 errors.
Finished in 2.3s on 1144 files with 401 rules using 10 threads.

tools/helper/src/client/styles/normalize.scss
  17:3  ✖  Unexpected unknown property "font-display"  property-no-unknown

✖ 1 problem (1 error, 0 warnings)

 ELIFECYCLE  Command failed with exit code 2.
mister-hope@mac-mini-studio ecosystem % pnpm stylelint -v
17.4.0
Image

I think this bug might be related to #9099

Note: everything is totally fine in 17.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions