Skip to content
New issue

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

I can't disable 'vue/require-v-for-key': 0 in my eslintrc file #1294

Closed
sgehrman opened this issue Sep 3, 2020 · 4 comments
Closed

I can't disable 'vue/require-v-for-key': 0 in my eslintrc file #1294

sgehrman opened this issue Sep 3, 2020 · 4 comments

Comments

@sgehrman
Copy link

sgehrman commented Sep 3, 2020

This just started happening today which is weird.

I tried to disable:

'vue/require-v-for-key': 0,

in my eslintrc, but it still gives me an error. I'm in VSCode. Latest eslint package.

@ota-meshi
Copy link
Member

Please refer to the FAQ.

@sgehrman
Copy link
Author

sgehrman commented Sep 3, 2020

@ota-meshi very annoying you would tell me to look at the FAQ rather than giving me the answer.

I found out I have Vetur installed and I had to add

"vetur.validation.template": false,

to my settings.

@klesun
Copy link

klesun commented Dec 26, 2021

Bump, and here is an SO post with 60+ upvotes of other people suffering from undisablable v-for :key requirement in eslint-plugin-vue:

Btw, the FAQ does not have anything related to vscode not respecting eslint-plugin-vue rules disabled in .eslintrc.js.

The Intellij IDEA IDE does not have such issues when validating eslint rules in <template>.

@ota-meshi
Copy link
Member

Please report the issue using the issue template. Also, don't ignore the template checkboxes.

@vuejs vuejs locked and limited conversation to collaborators Dec 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants