Fix eslint config

This commit is contained in:
Bill Thornton
2025-07-28 10:52:45 -04:00
parent 4fd2a4041f
commit 2912bf50c5
2 changed files with 5 additions and 9 deletions

View File

@@ -361,15 +361,7 @@ export default tseslint.config(
}
}
],
'@typescript-eslint/no-deprecated': [
'warn',
{
allow: [
// Allow the deprecated Grid component from mui since JMP does not support CSS gap on some OSs
{ from: '@mui/material/Grid', name: 'Grid' }
]
}
],
'@typescript-eslint/no-deprecated': 'warn',
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/prefer-string-starts-ends-with': 'error'
}

View File

@@ -217,8 +217,12 @@ export const Component = () => {
<Box>
{filteredPlugins.length > 0 ? (
// NOTE: Legacy Grid is required due to lack of gap support in JMP on some OSs
// eslint-disable-next-line @typescript-eslint/no-deprecated
<Grid container spacing={2}>
{filteredPlugins.map(plugin => (
// NOTE: Legacy Grid is required due to lack of gap support in JMP on some OSs
// eslint-disable-next-line @typescript-eslint/no-deprecated
<Grid
key={plugin.id}
item