-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
Describe the bug
When trying to install @tanstack/eslint-plugin-query@4 from npm in a project that uses ESLint v9, I'm unable to install without --force or --legacy-peer-deps due to a dependency mismatch.
Additionally, if I try to install the plugin (via one of the flags above) and use it, I get TypeError: t.getAncestors is not a function or its return value is not iterable from ESLint.
Our team has just upgraded to React 18 and are now looking to upgrade React Query to v5 as well, so this plugin would be really helpful to move that initiative along
Your minimal, reproducible example
N/A
Steps to reproduce
- Create a project with ESLint v9
- run
npm install -D @tanstack/eslint-plugin-query@4
Expected behavior
I expected the plugin to install without issue and to be used by ESLint v9
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
- OS: Windows
- NPM: 10.8.2
Tanstack Query adapter
None
TanStack Query version
v4.0.10
TypeScript version
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels