1.0.2 • Published 3 years 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.jsonfile extending the config:
{
"extends": "@hulpi/eslint-config/react"
// "extends": "@hulpi/eslint-config/node"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.