Skip to content

Commit

Permalink
docs: Add brief ESLint instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Jun 26, 2024
1 parent 7467ec0 commit df9dbda
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,22 @@ id: eslint
title: ESLint
---

To-do!
## Setup

### package.json

- Make sure you have ESLint v8.57.0+ installed
- We will upgrade to ESLint v9 once `typescript-eslint` v8 and `eslint-plugin-react-hooks` v5 release

### eslint.config.js

```js
import { rootConfig } from '@tanstack/config/eslint'

export default [
...rootConfig,
{
// Custom rules go here
},
]
```

0 comments on commit df9dbda

Please sign in to comment.