Added Material UI 4 import rule to plugins/dynatrace
Signed-off-by: Aditya Kumar <aditya.kumar60@infosys.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user