Adds the no-top-level-material-ui-4-import ESLint rule to the home-react plugin to aid with the migration to Material UI v5.

Issue: #23467
Signed-off-by: Binishma SS <binishma_s@TVMATP567911L.ad.infosys.com>
This commit is contained in:
Binishma SS
2024-04-01 14:07:07 +05:30
parent 962b014244
commit 293347f938
4 changed files with 16 additions and 9 deletions
+5 -1
View File
@@ -1 +1,5 @@
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname);
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, {
rules: {
'@backstage/no-top-level-material-ui-4-imports': 'error',
},
});