Skip to content

New linter rule: no result destructuring #6629

Closed Answered by TkDodo
Faithfinder asked this question in Ideas
Discussion options

You must be logged in to vote

This is stylistic at best so we're not going to include that. There is a lint rule prefer-destructuring (https://eslint.org/docs/latest/rules/prefer-destructuring) so I think it shouldn't be too hard to implement the opposite for yourself if you want to.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Faithfinder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants