-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
: Warn: Unknown property: 'r' (scss)
#2388
Comments
This would need support from upstream vscode-css-languageservice which pulls data from MDN. And MDN also doesn't have a dedicated page for these geometry properties. |
@jasonlyu123 It seems these properties should be registered in current versions of I'm not sure whether bumping |
Seems like it was filtered out because of the browser: none. Judging from the generation script, I think that file is from an old source, and they merged it with the data from MDN. But MDN doesn't have it. So you might need to ask MDN or ask the vscode team if they can manually update the browser capability. |
I've created an issue in the |
Oh, wait. I saw you linked the MDN page for the CSS property in the upstream issue. So MDN actually added the page recently. I didn't check it before I sent the last comment😅. Then it'll be solved after vscode-custom-data updates the dependencies and regeneate the data. |
Describe the bug
When I use the
r
property (SVG circle radius) in CSS,svelte-check
displays the following warning:Warn: Unknown property: 'r' (scss)
.For reference:
r
is a Geometry Property meaning this attribute can also be used as a CSS property for circles.").Possibly related issues:
Reproduction
Reproducer here (built with the latest Vite + Svelte starter at the time of writing): https://github.com/threema-gian/svelte-check-unknown-property-reproducer.
Expected behaviour
Using the following CSS block should not produce any
svelte-check
warnings:System Info
svelte
: 4.2.12svelte-check
: 3.6.6typescript
: 5.3.3Relevant
npm
script:"lint:svelte": "svelte-check --workspace src/app/ --no-tsconfig --compiler-warnings \"a11y-click-events-have-key-events:ignore\""
Which package is the issue about?
svelte-check
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: