Skip to content

Add prettier sorting #215

@dougg0k

Description

@dougg0k

Hey,

I would like to suggest adding a package to sort import to avoid PR inconsistencies from other formatters. In some cases even keys from obj or json could be sorted.

Sorting will make it easier to read, being alphabetically done, while keeping a pattern.

https://github.com/trivago/prettier-plugin-sort-imports

https://github.com/namnm/eslint-plugin-sort-keys

https://github.com/Gudahtt/prettier-plugin-sort-json


Offtopic:

https://ptb.discord.com/channels/426714625279524876/1327348792365944832/1401076285769252926

Biome has type-aware built in rust, so it should be faster, all types of sorting, it's formatter are equal to prettier, it just dont have all the lints that eslint have with additional packages. All in one package.

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