Skip to content

🐛 Eslint migration generation multi rule support #10024

@Netail

Description

@Netail

What happened?

Currently when 2 biome rules came out of a single eslint rule, we do not correctly enable both biome rules from that single eslint rule. Instead the last or first found from the visitor gets used. On top of that, when the same rule got inspired() and the other same(), then it will generate 2 entries in the migration map, with the second entry never being able to reach.

Expected result

Correctly map a single eslint rule to multiple biome rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CLIArea: CLIS-Bug-confirmedStatus: report has been confirmed as a valid bug

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions