Skip to content

Commit

Permalink
[core] Check dependency cycles inside packages directory only (mui#37223
Browse files Browse the repository at this point in the history
)
  • Loading branch information
michaldudak authored and binh1298 committed May 17, 2023
1 parent eff949d commit 3626bfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -413,6 +414,7 @@ module.exports = {
],
},
],
'import/no-cycle': ['error', { ignoreExternal: true }],
},
},
{
Expand Down

0 comments on commit 3626bfb

Please sign in to comment.