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

unmet peer eslint@"^6.2.0 || ^7.0.0 || ^8.0.0": found 9.0.0 #2443

Closed
2 tasks done
ihwf opened this issue Apr 8, 2024 · 3 comments · Fixed by #2444
Closed
2 tasks done

unmet peer eslint@"^6.2.0 || ^7.0.0 || ^8.0.0": found 9.0.0 #2443

ihwf opened this issue Apr 8, 2024 · 3 comments · Fixed by #2444

Comments

@ihwf
Copy link

ihwf commented Apr 8, 2024

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: "^9.0.0"
  • eslint-plugin-vue version: "^9.24.0"
  • Vue version: "^3.4.21"
  • Node version: v20.11.1
  • Operating System: MacOS 12.7.3

Please show your full configuration:

import pluginVue from 'eslint-plugin-vue'
export default [
  // add more generic rulesets here, such as:
  // js.configs.recommended,
  ...pluginVue.configs['flat/recommended'],
  // ...pluginVue.configs['flat/vue2-recommended'], // Use this if you are using Vue.js 2.x.
  {
    rules: {
      // override/add rules settings here, such as:
      // 'vue/no-unused-vars': 'error'
    }
  }
]

What did you do?

pnpm i

What did you expect to happen?
no WARN

What actually happened?

WARN  Issues with peer dependencies found
.
└─┬ eslint-plugin-vue 9.24.0
  └── ✕ unmet peer eslint@"^6.2.0 || ^7.0.0 || ^8.0.0": found 9.0.0

Repository to reproduce this issue

maybe just change dependencies config will resolve it

@xsjcTony
Copy link

xsjcTony commented Apr 8, 2024

+1, any plan for ESLint v9 support?

@FloEdelmann
Copy link
Member

Since support for the new configuration format was already added in the previous release, there is actually not much to do to support ESLint v9; it's only the peer dependency range that has to be updated. I created a pull request: #2444

@FloEdelmann
Copy link
Member

@ihwf @xsjcTony this has been fixed in https://github.com/vuejs/eslint-plugin-vue/releases/tag/v9.24.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants