3.0.0 • Published 2 years ago
@alexmadeira/eslint-config v3.0.0
Alex Madeira ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @alexmadeira/eslint-config- Create a
.eslintrc.jsonfile extending the config:
{
"extends": "@alexmadeira/eslint-config/react"
// "extends": "@alexmadeira/eslint-config/node"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.