1.37.0 • Published 9 months ago

@floydspace/eslint-config-react v1.37.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

@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 rules
  • eslint-plugin-react-hooks - lint rules for react hooks