Skip to content

Upgrades

Upgrades #10

Triggered via pull request September 20, 2024 02:45
Status Failure
Total duration 44s
Artifacts

check.yml

on: pull_request
lint-and-build
35s
lint-and-build
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 9 warnings
lint-and-build: src/extensions/grocy-fetch.extension.ts#L14
'setBaseUrl' is deprecated
lint-and-build: src/extensions/grocy-fetch.extension.ts#L15
'setHeaders' is deprecated
lint-and-build: src/extensions/object.extension.ts#L15
Remove this redundant type alias and replace its occurrences with "GrocyGetObject"
lint-and-build: src/extensions/object.extension.ts#L42
'type' will use Object's default stringification format ('[object Object]') when stringified
lint-and-build: src/extensions/object.extension.ts#L49
'type' will use Object's default stringification format ('[object Object]') when stringified
lint-and-build: src/extensions/object.extension.ts#L75
'type' will use Object's default stringification format ('[object Object]') when stringified
lint-and-build: src/helpers/metrics.ts#L1
'prom-client' should be listed in the project's dependencies. Run 'npm i -S prom-client' to add it
lint-and-build
Process completed with exit code 1.
lint-and-build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint-and-build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint-and-build: src/grocy.module.ts#L30
No magic number: 5
lint-and-build: src/helpers/entities.ts#L9
Unknown word: "barcodes"
lint-and-build: src/helpers/entities.ts#L29
Unknown word: "userentities"
lint-and-build: src/helpers/entities.ts#L31
Unknown word: "userobjects"
lint-and-build: src/helpers/entities.ts#L42
Unknown word: "barcodes"
lint-and-build: src/helpers/entities.ts#L62
Unknown word: "userentities"
lint-and-build: src/helpers/entities.ts#L64
Unknown word: "userobjects"