diff --git a/eslint.config.mjs b/eslint.config.mjs index 3414e42e95..03a04c84e4 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -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' } diff --git a/src/apps/dashboard/routes/plugins/index.tsx b/src/apps/dashboard/routes/plugins/index.tsx index 2cf45a4967..0675d03163 100644 --- a/src/apps/dashboard/routes/plugins/index.tsx +++ b/src/apps/dashboard/routes/plugins/index.tsx @@ -217,8 +217,12 @@ export const Component = () => { {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 {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