ESlint configuration recommended by dgvalerio.
ESlint configuration recommended by Davi Gonçalves Valério.
React | Next | Nest | |
---|---|---|---|
Google config base | ✅ | ✅ | ✅ |
Import Helpers plugin | ✅ | ✅ | |
React plugin | ✅ | ✅ | |
React Hooks plugin | ✅ | ||
JSX a11y plugin | ✅ | ✅ | |
Prettier | ✅ | ✅ | ✅ |
JSDoc Plugin | ✅ |
npm i -D eslint @dgvalerio/eslint-config
.eslintrc.json
file extending the config:{
"extends": "@dgvalerio/eslint-config/react"
}
If you want to set up a Next.js project:
{
"extends": "@dgvalerio/eslint-config/next"
}
If you want to set up a NestJS project:
{
"extends": "@dgvalerio/eslint-config/nest"
}