0.0.2 • Published 11 months ago
@fabyosk/linter v0.0.2
Rocketseat ESLint config
Whats included?
- Airbnb config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @fabyosk/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@fabyosk/eslint-config/react"
// "extends": "@fabyosk/eslint-config/node"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.
This eslint config is inspired on @rocketseat/eslint-config