Skip to content

Commit df9dbda

Browse files
docs: Add brief ESLint instructions
1 parent 7467ec0 commit df9dbda

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

docs/eslint.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,22 @@ id: eslint
33
title: ESLint
44
---
55

6-
To-do!
6+
## Setup
7+
8+
### package.json
9+
10+
- Make sure you have ESLint v8.57.0+ installed
11+
- We will upgrade to ESLint v9 once `typescript-eslint` v8 and `eslint-plugin-react-hooks` v5 release
12+
13+
### eslint.config.js
14+
15+
```js
16+
import { rootConfig } from '@tanstack/config/eslint'
17+
18+
export default [
19+
...rootConfig,
20+
{
21+
// Custom rules go here
22+
},
23+
]
24+
```

0 commit comments

Comments
 (0)