fix: review findings

removed default exclude targets so that tests are also in the scope.
added new includedFiles option that defaults to all in src/ directories

added more ignored packages to local config to make this pass, needs
fixes later on

Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi>
This commit is contained in:
Hellgren Heikki
2025-06-16 22:24:07 +03:00
parent 0a254aa6a0
commit 2974c08619
4 changed files with 46 additions and 10 deletions
+7 -3
View File
@@ -24,13 +24,17 @@ module.exports = {
'error',
{
// TODO: Fix these either by right role or by moving things to new packages
// TODO: Additionally remove the '**/*.{test,spec}.[jt]s?(x)' from `excludedFiles` in `no-mixed-plugin-imports`
// and fix the errors
excludedTargetPackages: [
'@backstage/plugin-catalog',
'@backstage/plugin-techdocs',
'@backstage/plugin-app',
'@backstage/plugin-catalog-backend'
'@backstage/plugin-catalog-backend',
'@backstage/test-utils',
'@backstage/plugin-auth-backend',
'@backstage/plugin-permission-backend',
'@backstage/plugin-kubernetes-backend',
'@backstage/config-loader',
'@backstage/plugin-app-backend'
],
}
],