Skip to content

Commit

Permalink
docs: update readme [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jul 30, 2024
1 parent da21981 commit b54b3f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-vite/template-react-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export default {
}
```

- Replace `tsPlugin.configs.recommended.rules` to `tsPlugin.configs['recommended-type-checked'].rules` or `tsPlugin.configs['strict-type-checked'].rules`
- Optionally add `tsPlugin.configs['stylistic-type-checked'].rules`
- Replace `tseslint.configs.recommended.rules` to `tseslint.configs['recommended-type-checked'].rules` or `tseslint.configs['strict-type-checked'].rules`
- Optionally add `tseslint.configs['stylistic-type-checked'].rules`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config:

```js
Expand Down

0 comments on commit b54b3f0

Please sign in to comment.