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:
@@ -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',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user