Skip to content

feat(contract): store rounds on Consensus.sol contract (#747) #2702

feat(contract): store rounds on Consensus.sol contract (#747)

feat(contract): store rounds on Consensus.sol contract (#747) #2702

Triggered via push October 31, 2024 05:30
Status Success
Total duration 1m 24s
Artifacts

lint.yml

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

Annotations

10 warnings
source (20.x): packages/api-common/source/controller.ts#L98
'any' overrides all other types in this union type
source (20.x): packages/api-common/source/controller.ts#L98
'any' overrides all other types in this union type
source (20.x): packages/api-common/source/plugins/pagination/extension.ts#L41
Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed
source (20.x): packages/api-common/source/plugins/pagination/extension.ts#L72
Use destructured variables over properties
source (20.x): packages/api-common/source/plugins/pagination/extension.ts#L72
Use `undefined` instead of `null`
source (20.x): packages/api-common/source/plugins/pagination/extension.ts#L86
Use `undefined` instead of `null`
source (20.x): packages/api-common/source/plugins/pagination/extension.ts#L91
Use `undefined` instead of `null`
source (20.x): packages/api-common/source/plugins/pagination/extension.ts#L110
Use destructured variables over properties
source (20.x): packages/api-common/source/plugins/rate-limit.ts#L57
Please rename the variable `rateLimitRes`. Suggested names are: `rateLimitResource`, `rateLimitResponse`, `rateLimitResult`. A more descriptive name will do too