You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/eslint.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,10 @@ id: eslint
3
3
title: ESLint
4
4
---
5
5
6
+
## Purpose
7
+
8
+
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.
9
+
6
10
## Setup
7
11
8
12
### package.json
@@ -22,3 +26,14 @@ export default [
22
26
},
23
27
]
24
28
```
29
+
30
+
## Plugins
31
+
32
+
-[@eslint/js](https://github.com/eslint/eslint) - The core ESLint rules
33
+
-[typescript-eslint](https://github.com/typescript-eslint/typescript-eslint) - Enables TypeScript support
34
+
-[eslint-plugin-import-x](https://github.com/un-ts/eslint-plugin-import-x) - Lints imports and exports
You can inspect the enabled rules by running `pnpm dlx @eslint/config-inspector`, or by browsing the source [here](https://github.com/TanStack/config/tree/main/src/eslint). Each rule has a comment explaining why it is included in the shared config.
0 commit comments