@arthurpedroti/eslint-config
v1.0.9
Published
ESLint configuration used by Arthur Pedroti.
Downloads
19
Readme
Arthur Pedroti ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @arthurpedroti/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@arthurpedroti/eslint-config/react"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.