Skip to content

Commit

Permalink
[code-infra] Prevent relative imports across packages (#15437)
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas authored Nov 16, 2024
1 parent 08f6e4b commit 33ca6ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ module.exports = {
...(ENABLE_REACT_COMPILER_PLUGIN ? { 'react-compiler/react-compiler': 'error' } : {}),
// TODO move to @mui/monorepo, codebase is moving away from default exports https://github.com/mui/material-ui/issues/21862
'import/prefer-default-export': 'off',
'import/no-relative-packages': 'error',
'import/no-restricted-paths': [
'error',
{
Expand Down

0 comments on commit 33ca6ce

Please sign in to comment.