Skip to content

Push on main

Push on main #35

Triggered via dynamic December 13, 2024 10:24
Status Success
Total duration 1m 8s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 1 warning
src/main.ts#L66
Unsafe argument of type `any` assigned to a parameter of type `PackageDefinition` (@typescript-eslint/no-unsafe-argument)
src/main.ts#L66
Unsafe argument of type `any` assigned to a parameter of type `Pick<Server, "addService">` (@typescript-eslint/no-unsafe-argument)
src/middlewares/json-body.middleware.ts#L8
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/middlewares/raw-body.middleware.ts#L8
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/modules/config/config.module.ts#L1
Run autofix to sort these imports! (simple-import-sort/imports)
src/modules/config/config.service.ts#L1
Run autofix to sort these imports! (simple-import-sort/imports)
src/modules/config/config.service.ts#L8
Prefer `EventTarget` over `EventEmitter` (unicorn/prefer-event-target)
src/modules/config/config.service.ts#L9
Replace `⏎····private·readonly·nip11Repo:·Nip11Repository,⏎··` with `private·readonly·nip11Repo:·Nip11Repository` (prettier/prettier)
src/modules/config/config.service.ts#L28
Placing a void expression inside another expression is forbidden. Move it to its own statement instead (@typescript-eslint/no-confusing-void-expression)
src/modules/config/controllers/config-grpc.controller.ts#L1
Run autofix to sort these imports! (simple-import-sort/imports)
src/modules/config/controllers/config-grpc.controller.ts#L6
All imports in the declaration are only used as types. Use `import type` (@typescript-eslint/consistent-type-imports)
src/modules/config/controllers/config-grpc.controller.ts#L7
'Observable' is defined but never used (@typescript-eslint/no-unused-vars)
src/modules/config/dto/limitation.dto.ts#L2
'IsOptional' is defined but never used (@typescript-eslint/no-unused-vars)
src/modules/config/dto/limitation.dto.ts#L4
'AbstractDto' is defined but never used (@typescript-eslint/no-unused-vars)
src/modules/config/dto/nip11.dto.ts#L1
Run autofix to sort these imports! (simple-import-sort/imports)
src/modules/config/entities/nip11.entity.ts#L1
Run autofix to sort these imports! (simple-import-sort/imports)
src/modules/service-registry/controllers/service-registry-grpc.controller.ts#L1
'ServerUnaryCall' is defined but never used (@typescript-eslint/no-unused-vars)
src/modules/service-registry/controllers/service-registry-grpc.controller.ts#L2
'Metadata' is defined but never used (@typescript-eslint/no-unused-vars)
src/modules/service-registry/controllers/service-registry-grpc.controller.ts#L41
Expected property shorthand (object-shorthand)
src/modules/service-registry/services/service-registry-health-check.service.ts#L78
Unnecessary conditional, value is always falsy (@typescript-eslint/no-unnecessary-condition)
src/modules/service-registry/services/service-registry-health-check.service.ts#L81
Unnecessary conditional, value is always falsy (@typescript-eslint/no-unnecessary-condition)
src/modules/service-registry/services/service-registry.service.ts#L39
Delete `⏎` (prettier/prettier)
src/modules/service-registry/services/service-registry.service.ts#L39
More than 1 blank line not allowed (no-multiple-empty-lines)
src/modules/subscriptions/subscriptions.controller.ts#L1
Run autofix to sort these imports! (simple-import-sort/imports)
src/modules/subscriptions/subscriptions.controller.ts#L21
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
src/modules/subscriptions/subscriptions.controller.ts#L22
Expected blank line before this statement (padding-line-between-statements)
src/modules/subscriptions/subscriptions.controller.ts#L22
Unsafe return of an `any` typed value (@typescript-eslint/no-unsafe-return)
src/modules/subscriptions/subscriptions.controller.ts#L22
Unsafe member access .url on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.controller.ts#L30
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/modules/subscriptions/subscriptions.controller.ts#L34
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
src/modules/subscriptions/subscriptions.controller.ts#L40
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
src/modules/subscriptions/subscriptions.controller.ts#L40
Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)
src/modules/subscriptions/subscriptions.controller.ts#L40
Unsafe member access .toString on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.controller.ts#L40
Prefer `utf8` over `utf-8` (unicorn/text-encoding-identifier-case)
src/modules/subscriptions/subscriptions.controller.ts#L41
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
src/modules/subscriptions/subscriptions.controller.ts#L41
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
src/modules/subscriptions/subscriptions.controller.ts#L43
Unsafe member access .event_type on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.controller.ts#L45
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
src/modules/subscriptions/subscriptions.controller.ts#L45
Unsafe member access .data on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.controller.ts#L46
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
src/modules/subscriptions/subscriptions.controller.ts#L46
Unsafe member access .data on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.controller.ts#L47
Unsafe argument of type `any` assigned to a parameter of type `number` (@typescript-eslint/no-unsafe-argument)
src/modules/subscriptions/subscriptions.controller.ts#L47
Unsafe member access .data on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.controller.ts#L48
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
src/modules/subscriptions/subscriptions.controller.ts#L48
Unsafe member access .data on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.service.ts#L1
Run autofix to sort these imports! (simple-import-sort/imports)
src/modules/subscriptions/subscriptions.service.ts#L10
All imports in the declaration are only used as types. Use `import type` (@typescript-eslint/consistent-type-imports)
src/modules/subscriptions/subscriptions.service.ts#L31
Inconsistently quoted property 'accept' found (quote-props)
src/modules/subscriptions/subscriptions.service.ts#L32
Object Literal Property name `content-type` must match one of the following formats: camelCase, PascalCase, snake_case, UPPER_CASE (@typescript-eslint/naming-convention)
src/modules/subscriptions/subscriptions.service.ts#L33
Object Literal Property name `speed-version` must match one of the following formats: camelCase, PascalCase, snake_case, UPPER_CASE (@typescript-eslint/naming-convention)
Analyze (javascript-typescript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636