1.0.1 • Published 2 years ago
@alxmedeiros/eslint-config v1.0.1
ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @alxmedeiros/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@alxmedeiros/eslint-config/react"
// "extends": "@alxmedeiros/eslint-config/node"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.