8000 `consistent-selector-style`: Class names used in `class:` directives can't be rewritten · Issue #1105 · sveltejs/eslint-plugin-svelte · GitHub
[go: up one dir, main page]

Skip to content

consistent-selector-style: Class names used in class: directives can't be rewritten #1105

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
2 tasks done
marekdedic opened this issue Feb 26, 2025 · 0 comments · Fixed by #1108
Closed
2 tasks done

Comments

@marekdedic
Copy link
Contributor

Before You File a Bug Report Please Confirm You Have Done The Following...

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.

What version of ESLint are you using?

9

What version of eslint-plugin-svelte are you using?

3.0.2

What did you do?

<div class:myClass={true} />

<style>
  .myClass {}
</style>

What did you expect to happen?

No issue

What actually happened?

Issue suggesting a rewrite to a type selector

Link to GitHub Repo with Minimal Reproducible Example

N/A, will send PR instead

Additional comments

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant
0