Bug in Query ESLint exhaustive-deps + question about plugin access
Hello, I've found little bug, which couldn't be reported in Github since there is no public access to package @tanstack/eslint-plugin-query. Could You make it public?
Bug is related to access in nested code of queryFn which doesn't trigger exhaustive-deps error.
Attached examples of error and proper detection.
Anyway thanks for such tool, really nice to have it.


1 Reply
solid-orange•2y ago
1) you can post issues and discussion in the query monorepo: https://github.com/TanStack/query
2) it doesn't look like a bug because you access
t
inside the queryFn, so its a missing dependencyGitHub
GitHub - TanStack/query: 🤖 Powerful asynchronous state management, ...
🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query. - GitHub - TanStack/query: 🤖 Powerful as...