Closed as not planned
Description
Hello, and thanks for your excellent linter.
Currently, the @typescript-eslint/member-ordering
rule supports sorting classes, interfaces, and type literals.
But it doesn't support enums. Can someone please add enums? It seems like it would be a super-quick addition.
For example, with the following ESLint configuration:
rules: {
"@typescript-eslint/member-ordering": [
"warn",
{
enums: {
order: "alphabetically",
},
},
],
}
ESLint should warn me that the following enum is not in alphabetical order:
enum Fruit {
Banana,
Apple,
}