Added Material UI 4 import rule to plugins/rollbar

Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
This commit is contained in:
Aditya Kumar
2024-03-14 16:58:54 +05:30
parent 2481d8a552
commit 71e5ee6042
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/plugin-rollbar': patch
---
Added an optional ESLint rule - no-top-level-material-ui-4-imports -in rollbar plugin which has an auto fix function to migrate the imports and used it to migrate the Material UI imports for plugins/rollbar.
Adjusted MUI imports for better tree shaking.
+4 -4
View File
@@ -1,5 +1,5 @@
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, {
rules: {
'@backstage/no-top-level-material-ui-4-imports': 'error',
},
});
rules: {
'@backstage/no-top-level-material-ui-4-imports': 'error',
},
});