You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this change cause the rule to produce more or fewer warnings?
fewer
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:
v-for="(, foo) in bar"
where bar is an Object and I want to loop through only keys
What does the rule currently do for this code? error Invalid alias '' vue/valid-v-for
What will the rule do after it's changed?
not error out on looping through only keys of an Object
Additional context
The text was updated successfully, but these errors were encountered:
aibolit
changed the title
vue/valid-v-for should not trigger on looping through only values of an objectvue/valid-v-for should not trigger on looping through only keys of an object
Apr 4, 2025
What rule do you want to change?
vue/valid-v-for
Does this change cause the rule to produce more or fewer warnings?
fewer
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:
where
bar
is anObject
and I want to loop through only keysWhat does the rule currently do for this code?
error Invalid alias '' vue/valid-v-for
What will the rule do after it's changed?
not error out on looping through only keys of an Object
Additional context
The text was updated successfully, but these errors were encountered: