Skip to content

Consider using an eslint import plugin instead of import/order #647

Closed
@danvk

Description

@danvk

🚀 Feature Request

The script swaps in import/order for tslint's ordered-imports. I spent quite a while trying to configure it to sort things like tslint's rule did, before discovering eslint-plugin-simple-import-sort, which seems much closer to the old rule (and also much easier to configure!).

Existing Behavior

ordered-imports becomes import/order.

Change Proposal

ordered-imports becomes eslint-plugin-simple-import-sort

I haven't taken the time to check how well this would work for tslint.json settings beyond the ones I use, but for me simple-import-sort was fantastic!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: incorrect converterRule converter with incomplete, incorrect, or invalid rule names and/or argumentsstatus: accepting prsPlease, send in a PR to resolve this! ✨

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions