Note: This plugin is still in early development and is not ready for use.
# npm
npm install --save-dev eslint-plugin-react-ts
# or yarn
yarn add --dev eslint-plugin-react-ts
# or pnpm
pnpm add --save-dev eslint-plugin-react-ts
{
"plugins": ["react-ts"],
"rules": {
"react-ts/jsx-boolean-value": "error"
}
}
import reactTs from "eslint-plugin-react-ts";
export default [
{
plugins: {
reactTs,
},
rules: {
"react-ts/jsx-boolean-value": "error",
},
},
];
- 16.x Maintenance
- 18.x LTS Hydrogen
- 20.x Current
- 1.x
- react-ts/jsx-key
- react-ts/jsx-uses-react
- react-ts/jsx-boolean-value
- react-ts/jsx-no-comment-textnodes
- react-ts/jsx-no-leaked-render
- react-ts/no-children-prop
- react-ts/no-danger-with-children
- react-ts/no-direct-mutation-state
- react-ts/no-is-mounted
- react-ts/no-render-return-value
- react-ts/no-string-refs
- react-ts/no-unescaped-entities
- react-ts/no-unknown-property
- react-ts/no-unsafe
- react-ts/require-render-return
- ...
- react-ts/jsx-key
- react-ts/jsx-uses-react
- react-ts/jsx-boolean-value
- react-ts/jsx-no-comment-textnodes
- react-ts/jsx-no-leaked-render
- react-ts/no-children-prop
- react-ts/no-danger-with-children
- react-ts/no-direct-mutation-state
- react-ts/no-is-mounted
- react-ts/no-render-return-value
- react-ts/no-string-refs
- react-ts/no-unescaped-entities
- react-ts/no-unknown-property
- react-ts/no-unsafe
- react-ts/require-render-return
- ...
- react-ts/jsx-key
- react-ts/jsx-uses-react
- react-ts/jsx-boolean-value
- react-ts/jsx-no-comment-textnodes
- react-ts/jsx-no-leaked-render
- react-ts/no-children-prop
- react-ts/no-danger-with-children
- react-ts/no-direct-mutation-state
- react-ts/no-is-mounted
- react-ts/no-render-return-value
- react-ts/no-string-refs
- react-ts/no-unescaped-entities
- react-ts/no-unknown-property
- react-ts/no-unsafe
- react-ts/require-render-return
- ...
This project is licensed under the MIT License - see the LICENSE file for details.
This project uses code from following third-party projects:
- eslint-plugin-perfectionist (MIT)
- eslint-plugin-react (MIT)
- eslint-plugin-solid (MIT)
- griffel (MIT)
Licenses are list in THIRD-PARTY-LICENSE