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.
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.
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 https://github.com/sveltejs/language-tools/issues/2559#issuecomment-2454593531)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.