Skip to content

Commit 29f0b57

Browse files
Add TypeScript and ESLint configuration options to next.config.ts
1 parent 1650710 commit 29f0b57

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
@@ -3,6 +3,18 @@ import type { NextConfig } from "next";
33
const nextConfig: NextConfig = {
44
/* config options here */
55

6+
typescript: {
7+
// !! WARN !!
8+
// Dangerously allow production builds to successfully complete even if
9+
// your project has type errors.
10+
// !! WARN !!
11+
ignoreBuildErrors: true,
12+
},
13+
eslint: {
14+
// Warning: This allows production builds to successfully complete even if
15+
// your project has ESLint errors.
16+
ignoreDuringBuilds: true,
17+
},
618
};
719

820
export default nextConfig;

0 commit comments

Comments
 (0)