This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Sort keys of string enums when saving in vscode #4210
jpike88
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions