Description
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:
- https://eslint.vuejs.org/user-guide/#configuration-eslintrc
module.exports = { extends: [ // add more generic rulesets here, such as: // 'eslint:recommended', 'plugin:vue/vue3-recommended', // 'plugin:vue/recommended' // Use this if you are using Vue.js 2.x. ] ...
- https://eslint.vuejs.org/rules/#priority-a-essential-error-prevention
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