BC-5662 Add linter rule for deep module imports #15964
test.yml
on: pull_request
Matrix: nest_tests_cov
feathers_tests_cov
5m 35s
nest_lint
4m 27s
SonarCloud coverage
0s
Annotations
1 error and 10 warnings
nest_tests_cov (1)
Process completed with exit code 1.
|
nest_lint:
apps/server/src/apps/files-storage.app.ts#L12
'@modules/files-storage/files-storage.const' import is restricted from being used by a pattern. Do not deep import from a module
|
nest_lint:
apps/server/src/apps/server.app.ts#L11
'@modules/teams/service/team.service' import is restricted from being used by a pattern. Do not deep import from a module
|
nest_lint:
apps/server/src/apps/server.app.ts#L12
'@modules/account/services/account.validation.service' import is restricted from being used by a pattern. Do not deep import from a module
|
nest_lint:
apps/server/src/apps/server.app.ts#L13
'@modules/account/uc/account.uc' import is restricted from being used by a pattern. Do not deep import from a module
|
nest_lint:
apps/server/src/apps/server.app.ts#L14
'@modules/collaborative-storage/uc/collaborative-storage.uc' import is restricted from being used by a pattern. Do not deep import from a module
|
nest_lint:
apps/server/src/console/api-test/test-bootstrap.console.ts#L4
'@modules/management/uc/database-management.uc' import is restricted from being used by a pattern. Do not deep import from a module
|
nest_lint:
apps/server/src/console/console.module.ts#L7
'@infra/console/console-writer/console-writer.module' import is restricted from being used by a pattern. Do not deep import from a module
|
nest_lint:
apps/server/src/console/console.module.ts#L8
'@infra/identity-management/keycloak/keycloak.module' import is restricted from being used by a pattern. Do not deep import from a module
|
nest_lint:
apps/server/src/console/console.module.ts#L11
'@modules/files/entity' import is restricted from being used by a pattern. Do not deep import from a module
|
nest_lint:
apps/server/src/console/console.module.ts#L12
'@modules/files-storage/entity' import is restricted from being used by a pattern. Do not deep import from a module
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-artifacts
Expired
|
19.1 MB |
|