How to Remove Eslint Errors in Nextjs

1. Open Nextjs Project

2. Find next.config.mjs

3. Add the Following Code in You're next.config

/** @type {import('next').NextConfig} */
const nextConfig = {


    eslint: {
        ignoreDuringBuilds: true,
    },

};

export default nextConfig;

Errors Gone ๐Ÿ˜Š....

0
Subscribe to my newsletter

Read articles from Namit Singh Nirwan directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Namit Singh Nirwan
Namit Singh Nirwan