You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eslint-plugin-query has a peer dependency for eslint 8.
When I try to upgrade my project to use eslint 9, npm install fails due to peer dependency mismatch.
Thanks!
Your minimal, reproducible example
Any NodeJS project
Steps to reproduce
npm i -D @tanstack/eslint-plugin-query@5.28.11
npm i -D eslint@9.0.0
Erroneous output:
npm ERR! While resolving: eslint-import-resolver-typescript@3.6.1
npm ERR! Found: eslint@9.0.0
npm ERR! node_modules/eslint
npm ERR! peer eslint@"^7.0.0 || ^8.0.0" from @typescript-eslint/utils@6.21.0
npm ERR! node_modules/@tanstack/eslint-plugin-query/node_modules/@typescript-eslint/utils
npm ERR! @typescript-eslint/utils@"^6.20.0" from @tanstack/eslint-plugin-query@5.28.11
npm ERR! node_modules/@tanstack/eslint-plugin-query
npm ERR! dev @tanstack/eslint-plugin-query@"^5.28.11" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint-plugin-import@"*" from eslint-import-resolver-typescript@3.6.1
npm ERR! node_modules/eslint-import-resolver-typescript
npm ERR! dev eslint-import-resolver-typescript@"^3.6.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: eslint@8.57.0
npm ERR! node_modules/eslint
npm ERR! peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" from eslint-plugin-import@2.29.1
npm ERR! node_modules/eslint-plugin-import
npm ERR! peer eslint-plugin-import@"*" from eslint-import-resolver-typescript@3.6.1
npm ERR! node_modules/eslint-import-resolver-typescript
npm ERR! dev eslint-import-resolver-typescript@"^3.6.1" from the root project
Expected behavior
Installation should be smooth :)
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
all
Tanstack Query adapter
None
TanStack Query version
5.28.11
TypeScript version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
eslint-plugin-query has a peer dependency for eslint 8.
When I try to upgrade my project to use eslint 9, npm install fails due to peer dependency mismatch.
Thanks!
Your minimal, reproducible example
Any NodeJS project
Steps to reproduce
npm i -D @tanstack/eslint-plugin-query@5.28.11
npm i -D eslint@9.0.0
Erroneous output:
Expected behavior
Installation should be smooth :)
How often does this bug happen?
None
Screenshots or Videos
No response
Platform
all
Tanstack Query adapter
None
TanStack Query version
5.28.11
TypeScript version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: