Skip to content

Commit

Permalink
refactor: remove rule from eslint file
Browse files Browse the repository at this point in the history
  • Loading branch information
mashal-m committed Nov 30, 2023
1 parent c709c24 commit 997f949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/extendESLintConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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-*'];
}
}
};
Expand Down

0 comments on commit 997f949

Please sign in to comment.