diff --git a/packages/core/eslint-config/next.js b/packages/core/eslint-config/next.js index 541bb5fe..9fd41dda 100644 --- a/packages/core/eslint-config/next.js +++ b/packages/core/eslint-config/next.js @@ -35,6 +35,13 @@ module.exports = { }, ], 'no-unused-vars': ['warn', { varsIgnorePattern: '^_', argsIgnorePattern: '^_' }], + 'import/no-cycle': [ + 'warn', + { + maxDepth: 1, + ignoreExternal: true, + }, + ], '@typescript-eslint/consistent-type-imports': 'warn', }, overrides: [{ files: ['*.js?(x)', '*.ts?(x)'] }],