2.0.0 • Published 3 months ago
@whyleonardo/eslint-config v2.0.0
whyleonardo ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- Import Helpers plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @whyleonardo/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@whyleonardo/eslint-config"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.