Skip to content

Commit

Permalink
[code-infra] Prevent wrong nested imports in Base UI
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 15, 2024
1 parent a0ffee4 commit f8c378c
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 @@ -36,6 +36,8 @@ const NO_RESTRICTED_IMPORTS_PATTERNS_DEEPLY_NESTED = [
'@mui/*/*/*',
'@pigment-css/*/*/*',
'@base_ui/*/*/*',
'@base-ui/*/*/*',
'@base-ui-components/*/*/*',
// Allow any import depth with any internal packages
'!@mui/internal-*/**',
// TODO delete, @mui/docs should be @mui/internal-docs
Expand Down

0 comments on commit f8c378c

Please sign in to comment.