Skip to content

Commit 9adf6c3

Browse files
committed
Ignore ESLint and TS when Building
1 parent fdc747d commit 9adf6c3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

next.config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
/**
2-
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
3-
* for Docker builds.
2+
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation.
3+
* This is especially useful for Docker builds.
44
*/
55
import "./src/env.js";
66

77
/** @type {import("next").NextConfig} */
8-
const config = {};
8+
const config = {
9+
eslint: { ignoreDuringBuilds: true },
10+
typescript: { ignoreBuildErrors: true },
11+
};
912

1013
export default config;

0 commit comments

Comments
 (0)