We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7467ec0 commit df9dbdaCopy full SHA for df9dbda
docs/eslint.md
@@ -3,4 +3,22 @@ id: eslint
3
title: ESLint
4
---
5
6
-To-do!
+## 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