Skip to content

Using <script global> or :global selector doesn't silence eslint warnings #123

Open
@dtzxporter

Description

@dtzxporter

Eslint will still complain about an 'unused' selector when svelte's linter knows that it's marked global.

<script global>
body { color: red; }
</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions