From a9f7d9ca7318392b0b6de05adf13e818b970fe35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dudak?= Date: Wed, 10 May 2023 09:36:55 +0200 Subject: [PATCH] [core] Check dependency cycles inside packages directory only --- .eslintrc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 403f4505e09655..96cc7f9b95554c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -104,6 +104,7 @@ module.exports = { // Not sure why it doesn't work 'import/named': 'off', + 'import/no-cycle': 'off', // Missing yarn workspace support 'import/no-extraneous-dependencies': 'off', // The code is already coupled to webpack. Prefer explicit coupling. @@ -413,6 +414,7 @@ module.exports = { ], }, ], + 'import/no-cycle': ['error', { ignoreExternal: true }], }, }, {