@backstage/eslint-plugin
Advanced tools
Comparing version 0.1.10-next.0 to 0.1.10-next.1
# @backstage/eslint-plugin | ||
## 0.1.10-next.1 | ||
### Patch Changes | ||
- b1c2a2d: Exclude `@material-ui/data-grid` | ||
## 0.1.10-next.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@backstage/eslint-plugin", | ||
"version": "0.1.10-next.0", | ||
"version": "0.1.10-next.1", | ||
"description": "Backstage ESLint plugin", | ||
@@ -25,3 +25,3 @@ "publishConfig": { | ||
"devDependencies": { | ||
"@backstage/cli": "0.28.0-next.1", | ||
"@backstage/cli": "0.28.0-next.2", | ||
"@types/estree": "^1.0.5", | ||
@@ -28,0 +28,0 @@ "eslint": "^8.33.0" |
@@ -138,2 +138,4 @@ /* | ||
if (node.source.value === '@material-ui/core/styles') return; | ||
// Ignore the @material-ui/data-grid library which shares this namespace | ||
if (node.source.value === '@material-ui/data-grid') return; | ||
// Return if proper import eg. `import Box from '@material-ui/core/Box'` | ||
@@ -140,0 +142,0 @@ // Or if third level or deeper imports |
@@ -50,2 +50,5 @@ /* | ||
}, | ||
{ | ||
code: `import { DataGrid, GridColDef, GridValueGetterParams } from '@material-ui/data-grid';`, | ||
}, | ||
], | ||
@@ -52,0 +55,0 @@ invalid: [ |
76676
1878