feat: add eslint rule for top level imports

Signed-off-by: Timothy Deakin <cftad@protonmail.com>
This commit is contained in:
Timothy Deakin
2024-03-14 17:34:32 +00:00
parent 534f3756a1
commit abad785ed1
+1
View File
@@ -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',
},
});