@luizlahr/eslint-config
v1.0.2
Published
ESLint configuration used by Luiz Lahr (based on Rocketseat 2.2.2)
Downloads
12
Readme
Luiz Lahr ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Setup
React (with Next.js)
Install dependencies:
npm i -D eslint @luizlahr/eslint-configInside .eslintrc.json
{
"extends": [
"@luizlahr/eslint-config/next",
"next/core-web-vitals"
]
}React (without Next.js)
Install dependencies:
npm i -D eslint @luizlahr/eslint-configInside .eslintrc.json
{
"extends": "@luizlahr/eslint-config/react"
}Node.js
Install dependencies:
npm i -D eslint @luizlahr/eslint-configInside .eslintrc.json
{
"extends": "@luizlahr/eslint-config/node"
}