Skip to content

Commit

Permalink
eslint - add Dialog to restricted imports
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelblum committed Jan 27, 2025
1 parent 7992ad0 commit 3cd4adf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ const config = [
importNames: ["Alert"],
message: "Please use Alert from @comet/admin instead",
},
{
name: "@mui/material",
importNames: ["Dialog"],
message: "Please use Dialog from @comet/admin instead",
},
{
name: "@mui/x-data-grid",
importNames: ["GridColDef"],
Expand Down

0 comments on commit 3cd4adf

Please sign in to comment.