1.0.2 • Published 1 year ago
@hulpi/eslint-config v1.0.2
Hulpi ESLint config
ESLint configuration based on Rocketseat https://github.com/Rocketseat/eslint-config-rocketseat
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @hulpi/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@hulpi/eslint-config/react"
// "extends": "@hulpi/eslint-config/node"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.