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