@tinkoff/eslint-config-react
v4.1.3
Published
ESLint configs for React apps
Downloads
838
Readme
@tinkoff/eslint-config-react
ESlint plugin includes rules for React applications. Designed to use with @tinkoff/eslint-config
.
Usage
Install from npm
npm i --save-dev @tinkoff/eslint-config @tinkoff/eslint-config-react
Then, need to include necessary configurations sets to .eslintrc
. Wee need to choose base configuration, and any
necessary additional configs.
{
"extends": ["@tinkoff/eslint-config/app", "@tinkoff/eslint-config-react"]
}
Internal used plugins
eslint-plugin-react
- common react lint ruleseslint-plugin-react-hooks
- lint rules for react hooks