exclude the data-grid package from the imports rule

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-10-01 11:41:51 +02:00
parent 416d16795b
commit b1c2a2dbaf
3 changed files with 10 additions and 0 deletions
@@ -47,6 +47,9 @@ ruleTester.run('path-imports-rule', rule, {
{
code: `import { CreateCSSProperties, StyledComponentProps } from '@material-ui/core/styles/withStyles';`,
},
{
code: `import { DataGrid, GridColDef, GridValueGetterParams } from '@material-ui/data-grid';`,
},
],
invalid: [
{