- Standard config base;
- React plugin;
- React Hooks plugin;
- JSX a11y plugin;
- Prettier;
Install dependencies:
npm i -D eslint @potidev/eslint-config
Inside .eslintrc.json
{
"extends": [
"@potidev/eslint-config/next",
"next/core-web-vitals"
]
}
After install, run to start on Next:
npm run lint
Install dependencies:
npm i -D eslint @potidev/eslint-config
Inside .eslintrc.json
{
"extends": "@potidev/eslint-config/react"
}
After install, run to start on Next:
npm run lint