chore: make mixed plugin imports warning instead error

Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
This commit is contained in:
Hellgren Heikki
2025-06-13 11:14:38 +03:00
parent e84e7c55bf
commit 0a254aa6a0
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -10,3 +10,6 @@ the backstage architecture. This rule forces that:
- No imports from frontend plugins to backend plugins or other frontend plugins.
- No imports from backend plugins to frontend plugins or other backend plugins.
- No imports from common plugins to frontend or backend plugins.
The current recommended configuration is giving a warning for mixed imports. This is to be changed in
the future to an error so please adjust your workspace accordingly.
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = {
'@backstage/no-forbidden-package-imports': 'error',
'@backstage/no-relative-monorepo-imports': 'error',
'@backstage/no-undeclared-imports': 'error',
'@backstage/no-mixed-plugin-imports': 'error',
'@backstage/no-mixed-plugin-imports': 'warn',
},
},
},