Skip to content

feat: add auth token for service registry #14

feat: add auth token for service registry

feat: add auth token for service registry #14

Triggered via push December 7, 2024 13:30
Status Success
Total duration 44s
Artifacts

lint.yml

on: push
Run linters
35s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

41 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/health/health.controller.ts#L8
Replace `"health"` with `'health'` (prettier/prettier)
src/modules/health/health.controller.ts#L8
Strings must use singlequote (@typescript-eslint/quotes)
src/modules/service-registry/controllers/service-registry-grpc.controller.ts#L41
Unsafe member access .message on an `any` value (@typescript-eslint/no-unsafe-member-access)
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/subscriptions/subscriptions.controller.ts#L20
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
src/modules/subscriptions/subscriptions.controller.ts#L21
Expected blank line before this statement (padding-line-between-statements)
src/modules/subscriptions/subscriptions.controller.ts#L21
Unsafe return of an `any` typed value (@typescript-eslint/no-unsafe-return)
src/modules/subscriptions/subscriptions.controller.ts#L21
Unsafe member access .url on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.controller.ts#L29
Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)
src/modules/subscriptions/subscriptions.controller.ts#L33
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
src/modules/subscriptions/subscriptions.controller.ts#L39
Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)
src/modules/subscriptions/subscriptions.controller.ts#L39
Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)
src/modules/subscriptions/subscriptions.controller.ts#L39
Unsafe member access .toString on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.controller.ts#L39
Prefer `utf8` over `utf-8` (unicorn/text-encoding-identifier-case)
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 argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
src/modules/subscriptions/subscriptions.controller.ts#L42
Unsafe member access .event_type on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.controller.ts#L44
Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)
src/modules/subscriptions/subscriptions.controller.ts#L44
Unsafe member access .data 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 `number` (@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 `string` (@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#L74
Immediately return this expression instead of assigning it to the temporary variable "isSignatureValid" (sonarjs/prefer-immediate-return)
src/modules/subscriptions/subscriptions.controller.ts#L79
Expected blank line before this statement (padding-line-between-statements)
src/modules/subscriptions/subscriptions.service.ts#L1
'BadRequestException' is defined but never used (@typescript-eslint/no-unused-vars)
src/modules/subscriptions/subscriptions.service.ts#L24
Inconsistently quoted property 'accept' found (quote-props)
src/modules/subscriptions/subscriptions.service.ts#L25
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#L26
Object Literal Property name `speed-version` must match one of the following formats: camelCase, PascalCase, snake_case, UPPER_CASE (@typescript-eslint/naming-convention)
src/modules/subscriptions/subscriptions.service.ts#L27
Inconsistently quoted property 'authorization' found (quote-props)
src/modules/subscriptions/subscriptions.service.ts#L27
Refactor this code to not use nested template literals (sonarjs/no-nested-template-literals)
src/modules/subscriptions/subscriptions.service.ts#L47
Unsafe return of an `any` typed value (@typescript-eslint/no-unsafe-return)
src/modules/subscriptions/subscriptions.service.ts#L49
Unsafe member access .response on an `any` value (@typescript-eslint/no-unsafe-member-access)
src/modules/subscriptions/subscriptions.service.ts#L49
Unsafe member access .message on an `any` value (@typescript-eslint/no-unsafe-member-access)
Run linters
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636