Added Material UI 4 import rule to plugins/dynatrace

Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
This commit is contained in:
Aditya Kumar
2024-03-14 16:49:49 +05:30
parent e550b2b274
commit 3a967487bc
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/plugin-dynatrace': patch
---
Added an optional ESLint rule - no-top-level-material-ui-4-imports -in dynatrace plugin which has an auto fix function to migrate the imports and used it to migrate the Material UI imports for plugins/dynatrace.
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',
},
});