Closed
Description
Tell us about your environment
- ESLint version: 5.0.0
- eslint-plugin-vue version: 5.0.0-beta.3
- Node version: v8.11.3
Please show your full configuration:
{
"rules" : {
"vue/valid-v-model": "error"
}
}
What did you do?
<template>
<div>
<div v-for="e in list">
<input v-model="e">
</div>
</div>
</template>
What did you expect to happen?
Should be report that the variable e
is assigned to v-model.
'v-model' directives cannot update the iteration variable 'e' itself.
What actually happened?
But the variable name is always x
.
'v-model' directives cannot update the iteration variable 'x' itself.