Revert "chore: (eslint) restrict imports of @material-ui Link"

This reverts commit 7539b36748.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-11-12 17:23:20 +01:00
parent afa90a3e51
commit be40512430
2 changed files with 0 additions and 27 deletions
-11
View File
@@ -239,17 +239,6 @@ function createConfigForRole(dir, role, extraConfig = {}) {
name: '@material-ui/icons/', // because this is possible too ._.
message: "Please import '@material-ui/icons/<Icon>' instead.",
},
{
name: '@material-ui/core',
importNames: ['Link'],
message:
'Prefer using `Link` from `@backstage/core-components` rather than material-UI',
},
{
name: '@material-ui/core/Link',
message:
'Prefer using `Link` from `@backstage/core-components` rather than material-UI',
},
...require('module').builtinModules,
...(extraConfig.restrictedImports ?? []),
],