Skip to content

Respect warningFilter setting from Svelte 5 #905

@ptrxyz

Description

@ptrxyz

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 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy