New linter rule: no result destructuring #6629
-
Shouldn't be part of the recommended set, but these days I find that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.