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

<template v-for> key should be placed on the <template> tag. vue(33) #3978

Closed
nklowns opened this issue Mar 4, 2024 · 2 comments
Closed
Labels
duplicate This issue or pull request already exists

Comments

@nklowns
Copy link

nklowns commented Mar 4, 2024

Type: Bug

Extension version: 2.0.4
Vscode Version: 1.87.0 (user setup)
Confirmar: 019f4d1419fbc8219a181fab7892ebccf7ee29a2
Data: 2024-02-27T23:41:44.469Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
SO: Windows_NT x64 10.0.22631

Vue@2.7.16

{
  "vueCompilerOptions": {
    "target": 2.7
  }
}

Hello, my vue2 project is showing errors that conflict with the eslint rules.
In Vue.js 2.x, disallows key attribute on elements. ref: https://eslint.vuejs.org/rules/no-v-for-template-key.html

Is it possible to configure and disable the error that the language server passes to vscode? since we have a preference for eslint rules

@c0lt
Copy link

c0lt commented Mar 5, 2024

See #3959

@so1ve
Copy link
Member

so1ve commented Mar 6, 2024

Duplicate of #3959

@so1ve so1ve marked this as a duplicate of #3959 Mar 6, 2024
@so1ve so1ve closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2024
@so1ve so1ve added the duplicate This issue or pull request already exists label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants