Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Sort keys of string enums when saving in vscode #4208

Description

@jpike88

Description

An extremely useful tool we enjoyed is this:

https://github.com/infctr/eslint-plugin-typescript-sort-keys/blob/master/docs/rules/string-enum.md

It's an eslint plugin, which just sorts they keys of string enums.

We have some enums which can be hundreds of keys long, and there's no practical way to sort them automatically without a tool like this

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskA task, an action that needs to be performed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions