Skip to content

feat: add hardware usage widget #3359

feat: add hardware usage widget

feat: add hardware usage widget #3359

Triggered via pull request October 22, 2024 19:25
Status Failure
Total duration 2m 22s
Artifacts

code-quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 1 warning
typecheck
Type '[]' is not assignable to type 'AtLeastOneOf<IntegrationCategory>'.
typecheck
@homarr/definitions#typecheck: command (/home/runner/work/homarr/homarr/packages/definitions) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
typecheck
Process completed with exit code 2.
format
@homarr/cron-jobs#format: command (/home/runner/work/homarr/homarr/packages/cron-jobs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
@homarr/widgets#format: command (/home/runner/work/homarr/homarr/packages/widgets) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
@homarr/integrations#format: command (/home/runner/work/homarr/homarr/packages/integrations) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
format
Process completed with exit code 1.
lint: packages/widgets/src/hardware-usage/graphs/cpu-graph.tsx#L24
Forbidden non-null assertion
lint: packages/widgets/src/hardware-usage/graphs/memory-graph.tsx#L26
Forbidden non-null assertion
lint: packages/widgets/src/hardware-usage/index.ts#L9
'factory' is defined but never used. Allowed unused args must match /^_/u
lint: packages/widgets/src/test/translation.spec.ts#L14
Unsafe assignment of an error typed value
lint: packages/widgets/src/test/translation.spec.ts#L14
Unsafe member access .option on an `error` typed value
lint: packages/widgets/src/test/translation.spec.ts#L18
Unsafe assignment of an error typed value
lint: packages/widgets/src/test/translation.spec.ts#L18
Unsafe member access [optionKey as keyof typeof option] on an `error` typed value
lint: packages/widgets/src/test/translation.spec.ts#L32
Unsafe assignment of an error typed value
lint: packages/widgets/src/test/translation.spec.ts#L32
Unsafe member access .option on an `error` typed value
lint: packages/widgets/src/test/translation.spec.ts#L36
Unsafe assignment of an error typed value
lint: apps/nextjs/src/app/[locale]/manage/users/groups/[id]/_rename-group-form.tsx#L61
React Hook useCallback has a missing dependency: 'disabled'. Either include it or remove the dependency array