if your project is next.js. you can add the follow code block to your next.config.mjs
next.config.mjs
eslint: { ignoreDuringBuilds: true, },
reference:
https://nextjs.org/docs/app/api-reference/config/next-config-js/eslint