vue/v-for-delimiter-style
enforce
v-fordirective's delimiter style
- 🔧 The
--fixoption on the command line can automatically fix some of the problems reported by this rule.
📖 Rule Details
This rule enforces which delimiter (in or of) should be used in v-for directives.
🔧 Options
Default is set to in.
json
{
"vue/v-for-delimiter-style": ["error", "in" | "of"]
}"in"(default) ... requires usingin."of"... requires usingof.
"of"
📚 Further Reading
🚀 Version
This rule was introduced in eslint-plugin-vue v7.0.0