File: eslint.md | Updated: 11/15/2025
Search...
+ K
Auto
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples GitHub Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Docs Examples Github Contributors
Maintainers Partners Support Learn StatsBETA Discord Merch Blog GitHub Ethos Brand Guide
Documentation
Version
Latest
Search...
+ K
Menu
Getting Started
Utilities
Conventions
Version
Latest
Menu
Getting Started
Utilities
Conventions
On this page
Copy Markdown
This package unifies the shared ESLint config used across all TanStack projects. It is designed to be framework-agnostic, and does not include any framework-specific plugins.
js
import { tanstackConfig } from '@tanstack/eslint-config'
// OR
import { tanstackConfig } from '@tanstack/config/eslint'
export default [\
...tanstackConfig,\
{\
// Custom rules go here\
},\
]
import { tanstackConfig } from '@tanstack/eslint-config'
// OR
import { tanstackConfig } from '@tanstack/config/eslint'
export default [\
...tanstackConfig,\
{\
// Custom rules go here\
},\
]
You can inspect the enabled rules by running pnpm dlx @eslint/config-inspector, or by browsing the source here . Each rule has a comment explaining why it is included in the shared config.