SIGN IN SIGN UP
TanStack / query UNCLAIMED

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

0 0 0 TypeScript

fix(eslint-plugin-query): improve external reference relevance (#8334)

* fix: handle external variable in queryFn without failure

Adjusted tests to ensure that the rule does not fail when a queryFn inside queryOptions contains a reference to an external variable. Also updated other tests to wrap query calls in a function component for consistency.

fix #8326

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
E
Eliya Cohen committed
80a49ffd3f51001d0d3ac3e714ef289deb6acc11
Parent: 102b6a8
Committed by GitHub <noreply@github.com> on 11/23/2024, 7:38:42 PM