Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svelte-check: unknown css-property print-color-adjust #1661

Closed
mrtronje opened this issue Sep 23, 2022 · 1 comment
Closed

svelte-check: unknown css-property print-color-adjust #1661

mrtronje opened this issue Sep 23, 2022 · 1 comment
Labels
bug Something isn't working Fixed Fixed in master branch. Pending production release. upstream

Comments

@mrtronje
Copy link

mrtronje commented Sep 23, 2022

Describe the bug

If I run svelte-check i get this warning

 Warn: Unknown property: 'print-color-adjust' (scss)

But actually it's not an unknown property (https://developer.mozilla.org/en-US/docs/Web/CSS/print-color-adjust). Is there a way to ignore this warning at least? Can I configure something to get rid of this error or do I have the possability to ignore this line directly in code, like

.my-class {
    // svelte-check-ignore
    print-color-adjust: exact;
}

Reproduction

 .my-class {
     print-color-adjust: exact;
     -webkit-print-color-adjust: exact;
 }

Expected behaviour

A way to ignore specific warnings or not throwing this warning

System Info

  • OS: Manjarro
  • svelte-check 2.9.0

Which package is the issue about?

svelte-check

Additional Information, eg. Screenshots

No response

@mrtronje mrtronje added the bug Something isn't working label Sep 23, 2022
@dummdidumm
Copy link
Member

Warning comes from the vscode-css-languageservice; they don't seem to have it in their list of known props. Needs to be seen if we can add it ourselves.

@dummdidumm dummdidumm added the Fixed Fixed in master branch. Pending production release. label Sep 26, 2022
dummdidumm added a commit that referenced this issue Sep 26, 2022
seems experimental, but all browsers support it
#1661
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed Fixed in master branch. Pending production release. upstream
Projects
None yet
Development

No branches or pull requests

2 participants