Open threema-gian opened 3 months ago
When I use the r property (SVG circle radius) in CSS, svelte-check displays the following warning: Warn: Unknown property: 'r' (scss).
r
svelte-check
Warn: Unknown property: 'r' (scss)
For reference:
Possibly related issues:
Reproducer here (built with the latest Vite + Svelte starter at the time of writing): https://github.com/threema-gian/svelte-check-unknown-property-reproducer.
Using the following CSS block should not produce any svelte-check warnings:
svg circle { r: 5px; }
svelte
typescript
Relevant npm script:
npm
"lint:svelte": "svelte-check --workspace src/app/ --no-tsconfig --compiler-warnings \"a11y-click-events-have-key-events:ignore\""
No response
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.
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