Skip to content

Commit 1fbfcfc

Browse files
committed
chore: ignore linting during builds
mainly because of embed.ts
1 parent cb37010 commit 1fbfcfc

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed

bun.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

next.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,18 @@ const nextConfig: NextConfig = {
1313

1414
return config;
1515
},
16+
eslint: {
17+
ignoreDuringBuilds: true,
18+
},
1619
};
1720

21+
if (process.env.NODE_ENV === "production") {
22+
nextConfig.eslint = {
23+
...nextConfig.eslint,
24+
ignoreDuringBuilds: true,
25+
};
26+
}
27+
1828
export default MillionLint.next({
1929
enabled: true,
2030
})(nextConfig);

0 commit comments

Comments
 (0)