Skip to content

refactor(contracts): use OwnableUpgradeable by OpenZeppelin (#775) #2798

refactor(contracts): use OwnableUpgradeable by OpenZeppelin (#775)

refactor(contracts): use OwnableUpgradeable by OpenZeppelin (#775) #2798

Triggered via push November 22, 2024 11:06
Status Success
Total duration 1m 26s
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