From 3a967487bc643a8e2adbfd064f5d7bfa2d615fc9 Mon Sep 17 00:00:00 2001 From: Aditya Kumar Date: Thu, 14 Mar 2024 16:49:49 +0530 Subject: [PATCH] Added Material UI 4 import rule to plugins/dynatrace Signed-off-by: Aditya Kumar --- .changeset/gorgeous-eels-cheat.md | 2 +- plugins/dynatrace/.eslintrc.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.changeset/gorgeous-eels-cheat.md b/.changeset/gorgeous-eels-cheat.md index 6c3b362e30..03f469bef3 100644 --- a/.changeset/gorgeous-eels-cheat.md +++ b/.changeset/gorgeous-eels-cheat.md @@ -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 diff --git a/plugins/dynatrace/.eslintrc.js b/plugins/dynatrace/.eslintrc.js index 9d5b45a010..d801c159a0 100644 --- a/plugins/dynatrace/.eslintrc.js +++ b/plugins/dynatrace/.eslintrc.js @@ -1,5 +1,5 @@ module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, { - rules: { - '@backstage/no-top-level-material-ui-4-imports': 'error', - }, - }); \ No newline at end of file + rules: { + '@backstage/no-top-level-material-ui-4-imports': 'error', + }, +}); \ No newline at end of file