Skip to content

Ambiguous documentation about eslint/vue3-recommended and eslint/vue-recommended plugins #2708

Closed
@scoutme

Description

@scoutme

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.57.0
  • eslint-plugin-vue version: 9.17.0
  • Vue version: 3
  • Node version: 20.9.0
  • Operating System: Ubuntu (both WSL2 and native)

Please show your full configuration:

n/a

What did you do?

n/a

What did you expect to happen?
Reading documentation about vue3 eslint configuration I expect coherent information about plugins and rules

What actually happened?
In documentation I read:

Priority A: Essential (Error Prevention)
3️⃣ Indicates that the rule is for Vue 3 and is included in all of "plugin:vue/essential", .configs["flat/essential"], >"plugin:vue/strongly-recommended", .configs["flat/strongly-recommended"], "plugin:vue/recommended" and >.configs["flat/recommended"] presets.
2️⃣ Indicates that the rule is for Vue 2 and is included in all of "plugin:vue/vue2-essential",
.configs["flat/vue2->essential"], "plugin:vue/vue2-strongly-recommended",.configs["flat/vue2-strongly-recommended"] and >"plugin:vue/vue2-recommended",.configs["flat/vue2-recommended"] presets.

(vu3-recommended is referenced in the first source, and disappears in second)

Repository to reproduce this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions