Skip to content

Svelte VS Code extension's linter is not working with script="ts" #11

@schachdavid

Description

@schachdavid

Describe the bug
Linting does not work with the svelte vs code extension if the script tag has lang="ts".
Preprocessors seems to work with this fine so the extension is probably the problem. Simple fix is just to replace lang="ts" with lang="typescript" in the script tag.

To Reproduce
Steps to reproduce the behavior:

  1. Use the template in vs code with the extension.

Expected behavior
Linting should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions