Skip to content

Change Request: Support <style>-tag linting, eg. in Svelte files #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
uh-zuh opened this issue Feb 23, 2025 · 1 comment
Closed
1 task

Change Request: Support <style>-tag linting, eg. in Svelte files #65

uh-zuh opened this issue Feb 23, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@uh-zuh
Copy link

uh-zuh commented Feb 23, 2025

Environment

Svelte

What problem do you want to solve?

For example Svelte-files have structure like this:

<script lang="ts">
    console.log(123);
</script>

<div class="red">
    234
</div>

<style>
    .red {
        color: red;
    }
</style>

It is good to support linting CSS in <style>-tag in such files.

What do you think is the correct solution?

Linting <style>-tag in Svelte-files.

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

@uh-zuh uh-zuh added the enhancement New feature or request label Feb 23, 2025
@nzakas
Copy link
Member

nzakas commented Feb 24, 2025

Thanks for the suggestion. This is something that needs to be implemented as part of ESLint, not as part of this plugin. You can follow the RFC here:
eslint/rfcs#105

@nzakas nzakas closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants