This package provides eclass eslint shareable config for react.
- eslint-config-prettier
- eslint-config-react-app
- eslint-config-standard
- eslint-plugin-flowtype
- eslint-plugin-import
- eslint-plugin-jsx-a11y
- eslint-plugin-node
- eslint-plugin-promise
- eslint-plugin-react
- eslint-plugin-react-hooks
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
Install eslint
and this package with npm.
npm i -D eslint @eclass/eslint-config-react @typescript-eslint/{parser,eslint-plugin} babel-eslint eslint-plugin-{flowtype,import,jsx-a11y,node,promise,react,react-hooks@2.x,standard}
Then add the following configuration to your project's package.json
.
"eslintConfig": {
"extends": "@eclass/eslint-config-react"
}