ESLint config file for Next.js projects
Installation
With yarn
:
yarn add -D @sotream/eslint-config-nextjs
With npm
:
npm i -D @sotream/eslint-config-nextjs
Usage
Create .eslintrc.js
file:
module.exports = {
"extends": [
"@sotream/eslint-config-nextjs"
],
"rules": {
// overrides ...
}
}