We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I write codes like "Reproducible Case" paragraph, it shows this linting:
[vue/valid-v-for] Custom elements in iteration require 'v-bind:key' directives.eslint-plugin-vue
Binding an object of attributes is valid syntax in VueJS. I believe that write the key attribute in the v-bind binding object should be valid.
key
v-bind
Save this code in VS Code as .vue format:
.vue
<template> <b-nav-item v-for="(item) in link_binding" v-bind="{ key: item.name.id }" > Elements inside </b-nav-item> </template>
#261
Replace require-v-for-key with new rule just for stateful elements #522
The text was updated successfully, but these errors were encountered:
You should report this issue in the eslint-plugin-vue repository, this is not directly related to Vetur.
Sorry, something went wrong.
Yes, it should be reported on eslint-plugin-vue.
OK, I will. I just thaught that it's just a issue from Vetur.
No branches or pull requests
Info
Problem
When I write codes like "Reproducible Case" paragraph, it shows this linting:
Binding an object of attributes is valid syntax in VueJS. I believe that write the
key
attribute in thev-bind
binding object should be valid.Reproducible Case
Save this code in VS Code as
.vue
format:Issues might be related
#261
Replace require-v-for-key with new rule just for stateful elements #522
The text was updated successfully, but these errors were encountered: