Fix ESLint configuration for Docker build
- Remove ignoreDuringBuilds from eslintConfig in package.json (invalid) - Add eslint.ignoreDuringBuilds to next.config.js (correct location) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,9 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
|||||||
});
|
});
|
||||||
|
|
||||||
module.exports = withBundleAnalyzer({
|
module.exports = withBundleAnalyzer({
|
||||||
|
eslint: {
|
||||||
|
ignoreDuringBuilds: true,
|
||||||
|
},
|
||||||
webpack: (config) => {
|
webpack: (config) => {
|
||||||
// for dynamic loading of auth providers
|
// for dynamic loading of auth providers
|
||||||
config.experiments = { ...config.experiments, topLevelAwait: true };
|
config.experiments = { ...config.experiments, topLevelAwait: true };
|
||||||
|
|||||||
@@ -187,7 +187,6 @@
|
|||||||
"importOrderSortSpecifiers": true
|
"importOrderSortSpecifiers": true
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"ignoreDuringBuilds": true,
|
|
||||||
"extends": [
|
"extends": [
|
||||||
"next",
|
"next",
|
||||||
"eslint:recommended",
|
"eslint:recommended",
|
||||||
|
|||||||
Reference in New Issue
Block a user