-
-
Notifications
You must be signed in to change notification settings - Fork 230
Open
Labels
Description
Describe the bug
Various at rules from the Functions and Mixins module aren't recognized, instead treated as unknown at rules. It's not clear how to ignore them.
/t/hi> pnpm check
> [email protected] check /tmp/hi
> svelte-kit sync && svelte-check --tsconfig ./tsconfig.json
Loading svelte-check in workspace: /tmp/hi
Getting Svelte diagnostics...
/tmp/hi/src/routes/+page.svelte:8:3
Warn: Unknown at rule @function (css)
<style>
@function --echo(--size) {
result: var(--size);
====================================
svelte-check found 0 errors and 1 warning in 1 file
⏎
Reproduction
<style>
@function --echo(--size) {
result: var(--size);
}
</style>Expected behaviour
@function, @mixin, and @apply should be recognized, or at least it should be clear how to ignore these warnings.
System Info
- OS: Linux
- IDE: Zed but N/A
Which package is the issue about?
svelte-check
Additional Information, eg. Screenshots
No response
Reactions are currently unavailable