You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To my understanding, currently there is no way to configure svelte/valid-compile with anything but either ignore all warnings or none of them using ignoreWarnings setting.
With Svelte 5, we are given the compiler option warningFilter which is meant to be a "unified way to suppress warnings" for all tools. (See sveltejs/language-tools#2559 (comment))
However it seems that eslint-plugin-svelte does use the svelte compiler under the hood and does not read any configs.
Can we get the plugin to also respect said setting?
note: this would be in addition to onwarn to preserve backwards compatibility while still being consistent with other Svelte tooling.
The text was updated successfully, but these errors were encountered:
Description
To my understanding, currently there is no way to configure
svelte/valid-compile
with anything but either ignore all warnings or none of them usingignoreWarnings
setting.With Svelte 5, we are given the compiler option
warningFilter
which is meant to be a "unified way to suppress warnings" for all tools. (See sveltejs/language-tools#2559 (comment))However it seems that
eslint-plugin-svelte
does use the svelte compiler under the hood and does not read any configs.Can we get the plugin to also respect said setting?
note: this would be in addition to
onwarn
to preserve backwards compatibility while still being consistent with other Svelte tooling.The text was updated successfully, but these errors were encountered: