Basic Features: ESLint | Next.js
Since version 11.0.0, Next.js provides an integrated ESLint experience out of the box. Add next lint as a script to package.json: Then run npm run lint or yarn lint: If you don't already have ESLint configured in your application, you will be guided through the installation and configuration process.
https://nextjs.org/docs/basic-features/eslint#disabling-rules

next.config.js: Ignoring ESLint | Next.js
When ESLint is detected in your project, Next.js fails your production build ( next build) when errors are present. If you'd like Next.js to produce production code even when your application has ESLint errors, you can disable the built-in linting step completely.
https://nextjs.org/docs/api-reference/next.config.js/ignoring-eslint


Seonglae Cho