From 997f949308da82577578eff0ccde3544891bcc50 Mon Sep 17 00:00:00 2001 From: mashal-m Date: Thu, 30 Nov 2023 19:27:43 +0500 Subject: [PATCH] refactor: remove rule from eslint file --- common/extendESLintConfig.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/extendESLintConfig.js b/common/extendESLintConfig.js index b8d8dba21..6b6d4afd3 100644 --- a/common/extendESLintConfig.js +++ b/common/extendESLintConfig.js @@ -4,8 +4,8 @@ const extendESLintConfig = (config) => { const importNoUnresolved = config.rules['import/no-unresolved']; if (importNoUnresolved ) { const originalIgnore = importNoUnresolved[1].ignore; - if (!originalIgnore.includes('@edx/frontend-enterprise-*', '@edx/paragon', '@edx/frontend-platform')) { - importNoUnresolved[1].ignore = [...originalIgnore, '@edx/frontend-enterprise-*','@edx/paragon', '@edx/frontend-platform' ]; + if (!originalIgnore.includes('@edx/frontend-enterprise-*')) { + importNoUnresolved[1].ignore = [...originalIgnore, '@edx/frontend-enterprise-*']; } } };