From 221dd27c38fad9519704bc8c7fecfb5e09e1bf66 Mon Sep 17 00:00:00 2001 From: zbeyens Date: Mon, 2 Oct 2023 15:11:48 +0200 Subject: [PATCH] fix --- config/eslint/bases/next.cjs | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) 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'],