1.37.0 • Published 1 year ago
@floydspace/eslint-config-react v1.37.0
@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-reactThen, 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