Skip to content

svelte-check ignoring jsconfig.json's exclude option #1234

Closed
@kierangilliam

Description

@kierangilliam

svelte-check will not use a jsconfig.json's exclude option to ignore .svelte files.

Please see this to reproduce.

If you open this project in vscode and navigate to jsconfig.json you'll see that src/routes is excluded from type checking. This is confirmed to work for *.js files (see src/routes/in-route.js). However, as seen in src/routes/index.svelte, the language server will ignore the exclusion of this folder and perform type checking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions