What is the problem this feature will solve?
Currently, the object keys need manual verification to ensure all the keys are in sort order.
Eg: const { z, y, x} = alphabets; should be sorted as const { x,y,z } = alphabets;.
Devs may miss to sort it.
What is the feature you are proposing to solve the problem?
Object key sorting could be enforced using the ESLint rule. This could be done using the rule https://eslint.org/docs/rules/sort-keys
What alternatives have you considered?
No response
What is the problem this feature will solve?
Currently, the object keys need manual verification to ensure all the keys are in sort order.
Eg:
const { z, y, x} = alphabets;should be sorted asconst { x,y,z } = alphabets;.Devs may miss to sort it.
What is the feature you are proposing to solve the problem?
Object key sorting could be enforced using the ESLint rule. This could be done using the rule https://eslint.org/docs/rules/sort-keys
What alternatives have you considered?
No response