Closed jaketodaro closed 3 weeks ago
Can you tell me what your problem is? We currently have a rule that sorts objects by key.
Or are you proposing to sort by value? This is not currently implemented and is not planned.
My mistake. After an eslint upgrade this works as expected for me. Previously I was getting an error running eslint withsort-object-types
turned on and I assumed that the error was due to the fact that I was using computed properties for keys, but that doesn't seem to be the case.
What rule do you want to change?
sort-objects/sort-object-keys
Describe the problem
Would it be possible to support sorting computed properties in objects and types?
Code example
Additional comments
No response
Validations