Skip to content

Commit

Permalink
Ignores linting on build
Browse files Browse the repository at this point in the history
  • Loading branch information
msoledade committed Mar 15, 2024
1 parent 273c670 commit 86bca5c
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,23 @@ const nextConfig = {
async redirects() {
return [
{
source: '/',
destination: '/campaigns',
source: "/",
destination: "/campaigns",
basePath: false,
permanent: false
}
]
permanent: false,
},
];
},
i18n: {
locales: ['en-US', 'es'],
defaultLocale: 'en-US',
locales: ["en-US", "es"],
defaultLocale: "en-US",
// localePath: resolve('./public/locales'),
}
}
},
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
};

module.exports = nextConfig
module.exports = nextConfig;

0 comments on commit 86bca5c

Please sign in to comment.