-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
eslint plugin in latest beta tries to require files that do not exist #5795
Comments
@lachlancollins can you take a look at this please? |
I think this is a regression from #5751, however it has an easy fix :) |
I've reopened this issue, @lachlancollins please have another look |
@melchor629 could you please try the latest release (v5.0.0-beta.10)? |
@lachlancollins working fine with Thanks for taking a look at the issue. Closing it as it is now working as expected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In the latest beta of
@tanstack/eslint-plugin-query
(version5.0.0-beta.0
), eslint fails with the following error:Inspecting the package, I see that around lines 27 and 28 of
build/legacy/index.cjs
there are these require lines:But those files do not exist in the package:
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/gifted-kare-2tfllj
Steps to reproduce
eslint
and@tanstack/eslint-plugin-query
extends: [ 'plugin:@tanstack/eslint-plugin-query/recommended' ]
eslint
Expected behavior
eslint
does not crash when using@tanstack/eslint-plugin-query
configuration or plugin.How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Tanstack Query adapter
None
TanStack Query version
5.0.0-beta.0
TypeScript version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: