Skip to content

Infinite loop in consistent-selector-style #1337

@marekdedic

Description

@marekdedic

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?

main

What did you do?

<script>
  const a = derived;
  const derived = a;
</script>

<a id={derived}>Click me!</a>

What did you expect to happen?

Error

What actually happened?

Infinite loop

Link to GitHub Repo with Minimal Reproducible Example

PR instead

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions