Skip to content
Sarj Code Standards

TanStack Query

2 rules @sarj/eslint-plugin@19.18.0

Complete effective rule inventory.

Docs

Rules

2 rules on this page · 2 total

  • @tanstack/query/exhaustive-deps

    Exhaustive deps rule for useQuery

    : error in TypeScript source, React source, JavaScript source, React JavaScript source, Syntax-only tool configuration, Design-system React source
    No autofix; suggestions available
  • @tanstack/query/prefer-query-options

    Prefer using queryOptions() to co-locate queryKey and queryFn

    : warning in All TanStack Query contexts
    No autofix