Skip to content

TanStack Start

Use TanStack Start support from the main v2 package. It bundles TanStack Router and TanStack Query rules for TanStack Start apps built with React or Solid.

bash
pnpm add -D @santi020k/eslint-config-basic

The default install above remains recommended. If you use the manual-dependency lite package, install this framework config package too:

bash
pnpm add -D @santi020k/eslint-config-lite @santi020k/eslint-config-tanstack-start eslint
import { defineConfig } from '@santi020k/eslint-config-basic'
export default await defineConfig({
frameworks: {
react: true,
'tanstack-start': true
},
typescript: true
})

Most projects can also rely on auto-detection and use eslintConfig() with no framework object — pair it with the React or Solid config, and auto-detection enables the right one for you.

  • Recommended rules from @tanstack/eslint-plugin-router for route definitions and navigation.
  • Recommended rules from @tanstack/eslint-plugin-query for query keys, mutations, and cache usage.
  • Composition through the same @santi020k/eslint-config-basic entry point as every other framework.
  • Compatibility with advanced overrides if you pass a custom config array or factory instead of true.
  • Using TanStack Query or Router outside of Start? Enable them individually via the libraries option ('tanstack-query', 'tanstack-router') instead.
  • The internal package still exists in the monorepo for modular development and generated API docs.

Did this page help?

One click helps us spot documentation that needs another pass. No personal data is sent.