TanStack Start
Use TanStack Start support from the lean v3 composer. It bundles TanStack Router and TanStack Query rules for TanStack Start apps built with React or Solid.
Install
Section titled “Install”pnpm add -D @santi020k/eslint-config-basic @santi020k/eslint-config-react @santi020k/eslint-config-tanstack-start eslintnpm install -D @santi020k/eslint-config-basic @santi020k/eslint-config-react @santi020k/eslint-config-tanstack-start eslintyarn add -D @santi020k/eslint-config-basic @santi020k/eslint-config-react @santi020k/eslint-config-tanstack-start eslintbun add -d @santi020k/eslint-config-basic @santi020k/eslint-config-react @santi020k/eslint-config-tanstack-start eslintThe command above targets TanStack React Start. For TanStack Solid Start,
replace @santi020k/eslint-config-react with
@santi020k/eslint-config-solid.
Configure
Section titled “Configure”import { defineConfig } from '@santi020k/eslint-config-basic'
export default await defineConfig({ frameworks: { react: true, 'tanstack-start': true }, typescript: true})With the required config packages installed, the one-line recommended entry auto-detects the framework; custom configs can use defineConfig() without a frameworks object — pair it with the React or Solid config, and auto-detection enables the right one for you.
What It Adds
Section titled “What It Adds”- Recommended rules from
@tanstack/eslint-plugin-routerfor route definitions and navigation. - Recommended rules from
@tanstack/eslint-plugin-queryfor query keys, mutations, and cache usage. - Composition through the same
@santi020k/eslint-config-basicentry 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
librariesoption ('tanstack-query','tanstack-router') instead. - This framework package is a public, optional dependency in v3; the basic composer loads it only when enabled.
Related Pages
Section titled “Related Pages”Did this page help?
One click helps us spot documentation that needs another pass. No personal data is sent.