@ramos-lucas/eslint-config
v1.3.0
Published
## Whats included?
Downloads
1
Readme
Rocketseat ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
- Sort imports;
Setup
React
Install dependencies:
npm i -D eslint @ramos-lucas/eslint-config
Inside .eslintrc.json
{
"extends": "@ramos-lucas/eslint-config/react"
}
Node.js
Install dependencies:
npm i -D eslint @ramos-lucas/eslint-config
Inside .eslintrc.json
{
"extends": "@ramos-lucas/eslint-config/node"
}