Skip to content

Commit

Permalink
docs: remove TypeScript section from eslint-plugin-react
Browse files Browse the repository at this point in the history
  • Loading branch information
Rel1cx committed Dec 20, 2024
1 parent 4abd941 commit b47c504
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions docs/modules/eslint-plugin-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,3 @@ The following stylistic rules in `eslint-plugin-react` can be replaced by the sa

[Project Page](https://eslint.style/packages/jsx)
[npm](https://www.npmjs.com/package/@stylistic/eslint-plugin-jsx)

## TypeScript

The following correctness rules in `eslint-plugin-react` can be enforced by TypeScript with appropriate `tsconfig.json` settings:

- `react/jsx-no-duplicate-props`
- `react/jsx-no-undef`
- `react/jsx-uses-react`
- `react/jsx-uses-vars`
- `react/no-invalid-html-attribute`
- `react/no-unescaped-entities` -> No need when using `@typescript-eslint/parser`
- `react/no-unknown-property`
- `react/style-prop-object`
- `react/react-in-jsx-scope`
- `react/require-render-return`

[Project Page](https://www.typescriptlang.org)
[npm](https://www.npmjs.com/package/typescript)

0 comments on commit b47c504

Please sign in to comment.