@axa-ch/eslint-config-axa-react
v1.0.0
Published
AXA's React ESLint RC, extending Airbnb's ESLint config
Downloads
4
Readme
eslint-config-axa-react
AXA's base ESLint RC, extending Airbnb's base ESLint config.
Usage
- Install from
@axa-ch/eslint-config-axa-react
by:
npm i --save-dev @axa-ch/eslint-config-axa-react
- Install peer dependencies of
@axa-ch/eslint-config-axa-react
andeslint-config-airbnb
It requires eslint
, eslint-plugin-import
, eslint-plugin-react
, and eslint-plugin-jsx-a11y
.
Install the correct versions of each package, which are listed by the command:
npm info "@axa-ch/eslint-config-axa-react@latest" peerDependencies
npm info "eslint-config-airbnb@latest" peerDependencies
- Add
"exetnds": "axa-react"
to your .eslintrc