Skip to content

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

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

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

Triggered via pull request October 30, 2024 19:38
Status Success
Total duration 1m 19s
Artifacts

lint.yml

on: pull_request
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