Skip to content

Commit b83c2aa

Browse files
Add TypeScript and ESLint configuration options to next.config.ts
1 parent 76cbb44 commit b83c2aa

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

next.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@ import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
44
/* config options here */
5+
typescript: {
6+
// !! WARN !!
7+
// Dangerously allow production builds to successfully complete even if
8+
// your project has type errors.
9+
// !! WARN !!
10+
ignoreBuildErrors: true,
11+
},
12+
eslint: {
13+
// Warning: This allows production builds to successfully complete even if
14+
// your project has ESLint errors.
15+
ignoreDuringBuilds: true,
16+
},
517
};
618

719
export default nextConfig;

0 commit comments

Comments
 (0)