Rule Change: Suggestion fixer for prefer-destructuring
#18460
Labels
3rd party plugin
This is an issue related to a 3rd party plugin, config, or parser
What rule do you want to change?
prefer-destructuring
What change do you want to make?
Implement suggestions
How do you think the change should be implemented?
A new default behavior
Example code
What does the rule currently do for this code?
Warn but doesn't offer fixes
What will the rule do after it's changed?
Offer a suggestion to manually fix:
Participation
Additional comments
My original use-case was actually for
@typescript-eslint/prefer-destructuring
. If I understand correctly, if this is added for ESLint, typescript-eslint should follow with their support.From:
To:
The parenthesis requirement make the
enforceForRenamedProperties
option hard for me to enable as I feel like other team members will also get confused as to why the syntax is incorrect until realizing that parenthesis are required w/o assignement keywords.The text was updated successfully, but these errors were encountered: