- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
- Install the dependencies
npm i -D eslint wiwap-eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "wiwap-eslint-config/react"
// "extends": "wiwap-eslint-config/react"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.