Skip to content

refactor(api): extract common logic into api-common package #986

refactor(api): extract common logic into api-common package

refactor(api): extract common logic into api-common package #986

Triggered via pull request October 6, 2023 03:22
Status Success
Total duration 1m 37s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: pull_request
Matrix: source
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
source (20.x): packages/api-common/source/schemas.ts#L33
Refactor this function to reduce its Cognitive Complexity from 34 to the 15 allowed
source (20.x): packages/api-common/source/schemas.ts#L56
Prefer `.some(…)` over `.find(…)`
source (20.x): packages/api-database/source/contracts.ts#L15
Dependency cycle detected
source (20.x): packages/api-database/source/contracts.ts#L16
Dependency cycle via ./filters:3=>./transaction-filter:2
source (20.x): packages/api-database/source/repositories/repository-extension.ts#L4
Dependency cycle via ./filters:3=>./transaction-filter:2=>../../contracts:3
source (20.x): packages/api-database/source/repositories/repository-extension.ts#L7
Export statements should appear at the end of the file
source (20.x): packages/api-database/source/repositories/repository-extension.ts#L26
Export statements should appear at the end of the file
source (20.x): packages/api-database/source/repositories/repository-extension.ts#L27
Export statements should appear at the end of the file
source (20.x): packages/api-database/source/repositories/repository-extension.ts#L29
Export statements should appear at the end of the file