vue/no-v-model-argument
disallow adding an argument to
v-modelused in custom component
- 🚫 This rule was deprecated.
- ⚙️ This rule is included in the following preset configs:
*.configs["flat/vue2-essential"]*.configs["flat/vue2-strongly-recommended"]*.configs["flat/vue2-recommended"]"plugin:vue/vue2-essential""plugin:vue/vue2-strongly-recommended""plugin:vue/vue2-recommended"
This rule checks whether v-model used on custom component do not have an argument.
📖 Rule Details
This rule reports v-model directives in the following cases:
- The directive used on component has an argument. E.g.
<MyComponent v-model:aaa="foo" />
🔧 Options
Nothing.
👫 Related Rules
🚀 Version
This rule was introduced in eslint-plugin-vue v7.0.0