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 116 TypeScript

feat(eslint-plugin): add allowlist option to exhaustive-deps rule (#10295)

* feat(eslint-plugin): add allowlist option to exhaustive-deps rule

Introduce an `allowlist` option with `variables` and `types` arrays so
stable variables and types can be excluded from dependency enforcement.

Also report member expression dependencies more granularly for call
expressions (e.g. `a.b.foo()` suggests `a.b` instead of only `a`).

BREAKING CHANGE: exhaustive-deps now reports member expression deps more
granularly, so some previously passing code may now report missing deps.
Use the allowlist option to exclude stable variables/types as needed.

* fix

* ci: apply automated fixes

* increase coverage

* address false positives

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
E
Eliya Cohen committed
3443736e2936fee45e979d3bbdbf6ea097b49c53
Parent: 8fe71e4
Committed by GitHub <noreply@github.com> on 3/22/2026, 5:33:16 PM