Skip to content

Commit

Permalink
[core] Check dependency cycles inside packages directory only (#37223)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed May 10, 2023
1 parent b4c2e4e commit 273c952
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 273c952

Please sign in to comment.