diff --git a/config/eslint/bases/next.cjs b/config/eslint/bases/next.cjs index a0134ba43b..ffabfa65f0 100644 --- a/config/eslint/bases/next.cjs +++ b/config/eslint/bases/next.cjs @@ -27,7 +27,7 @@ module.exports = { 'import/no-unresolved': [ 'error', { - ignore: ['^@/plate'], + ignore: ['^@/'], }, ], 'import/prefer-default-export': 'off', @@ -35,17 +35,23 @@ module.exports = { overrides: [ { files: ['**/packages/**'], - excludedFiles: ['**/*.test.*', '**/*.spec.*', '**/*.fixtures.*', '**/__tests__/**/*', '**/apps/**/*'], + excludedFiles: [ + '**/*.test.*', + '**/*.spec.*', + '**/*.fixtures.*', + '**/__tests__/**/*', + '**/apps/**/*', + ], rules: { 'import/no-extraneous-dependencies': [ - 'error', - { - devDependencies: false, - includeInternal: false, - includeTypes: false, - }, - ], - } + 'error', + { + devDependencies: false, + includeInternal: false, + includeTypes: false, + }, + ], + }, }, { files: ['apps/www/next.config.mjs'],