From abad785ed149067d1d231c0ee75cd28fc69feefb Mon Sep 17 00:00:00 2001 From: Timothy Deakin Date: Thu, 14 Mar 2024 17:34:32 +0000 Subject: [PATCH] feat: add eslint rule for top level imports Signed-off-by: Timothy Deakin --- plugins/catalog-graph/.eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/catalog-graph/.eslintrc.js b/plugins/catalog-graph/.eslintrc.js index 45bb6db521..157ee11e08 100644 --- a/plugins/catalog-graph/.eslintrc.js +++ b/plugins/catalog-graph/.eslintrc.js @@ -1,5 +1,6 @@ module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, { rules: { 'testing-library/prefer-screen-queries': 'error', + '@backstage/no-top-level-material-ui-4-imports': 'error', }, });