Skip to content

vue/v-if-else-key false-positives and false-negatives #2342

Closed
@FloEdelmann

Description

@FloEdelmann

Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have read the FAQ and my problem is not listed.

Tell us about your environment

  • ESLint version: 8.55.0
  • eslint-plugin-vue version: 9.19.2
  • Node version: 18.18.2
  • Operating System: Ubuntu

Please show your full configuration:

{
    "rules": {
        "vue/v-if-else-key": "error"
    }
}

What did you do?
What did you expect to happen?
What actually happened?
Repository to reproduce this issue

→ please see the following demo links, where each issue is highlighted:

CC @felipemelendez

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions