eslint-plugin-react-ts
Note: This plugin is still in development. It is not recommended to use it on a large scale for the time being.
Todo
Rules
Installation
npm install --save-dev eslint-plugin-react-ts
yarn add --dev eslint-plugin-react-ts
pnpm add --save-dev eslint-plugin-react-ts
Usage
Add react-ts
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["react-ts"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"react-ts/rule-name": "error"
}
}