vue/no-setup-props-destructure
should also warn when using toRefs
#1933
Labels
vue/no-setup-props-destructure
should also warn when using toRefs
#1933
What rule do you want to change?
vue/no-setup-props-destructure
Does this change cause the rule to produce more or fewer warnings?
More.
How will the change be implemented? (New option, new default behavior, etc.)?
New default behavior.
Please provide some example code that this change will affect:
What does the rule currently do for this code?
No error / warning.
What will the rule do after it's changed?
Display error / warning.
Additional context
Looks like the pattern above makes the variable reactive - but it looses reactivity instead.
The text was updated successfully, but these errors were encountered: