Skip to content

Push on main

Push on main #32

GitHub Actions / ESLint failed Dec 12, 2024 in 0s

66 errors

ESLint found 66 errors

Annotations

Check failure on line 66 in src/main.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/main.ts#L66

Unsafe argument of type `any` assigned to a parameter of type `PackageDefinition` (@typescript-eslint/no-unsafe-argument)

Check failure on line 66 in src/main.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/main.ts#L66

Unsafe argument of type `any` assigned to a parameter of type `Pick<Server, "addService">` (@typescript-eslint/no-unsafe-argument)

Check failure on line 8 in src/middlewares/json-body.middleware.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/middlewares/json-body.middleware.ts#L8

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check failure on line 8 in src/middlewares/raw-body.middleware.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/middlewares/raw-body.middleware.ts#L8

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check failure on line 1 in src/modules/config/config.service.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/config/config.service.ts#L1

Run autofix to sort these imports! (simple-import-sort/imports)

Check failure on line 8 in src/modules/config/config.service.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/config/config.service.ts#L8

Prefer `EventTarget` over `EventEmitter` (unicorn/prefer-event-target)

Check failure on line 26 in src/modules/config/config.service.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/config/config.service.ts#L26

Placing a void expression inside another expression is forbidden. Move it to its own statement instead (@typescript-eslint/no-confusing-void-expression)

Check failure on line 1 in src/modules/service-registry/controllers/service-registry-grpc.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/service-registry/controllers/service-registry-grpc.controller.ts#L1

'ServerUnaryCall' is defined but never used (@typescript-eslint/no-unused-vars)

Check failure on line 2 in src/modules/service-registry/controllers/service-registry-grpc.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/service-registry/controllers/service-registry-grpc.controller.ts#L2

'Metadata' is defined but never used (@typescript-eslint/no-unused-vars)

Check failure on line 41 in src/modules/service-registry/controllers/service-registry-grpc.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/service-registry/controllers/service-registry-grpc.controller.ts#L41

Expected property shorthand (object-shorthand)

Check failure on line 78 in src/modules/service-registry/services/service-registry-health-check.service.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/service-registry/services/service-registry-health-check.service.ts#L78

Unnecessary conditional, value is always falsy (@typescript-eslint/no-unnecessary-condition)

Check failure on line 81 in src/modules/service-registry/services/service-registry-health-check.service.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/service-registry/services/service-registry-health-check.service.ts#L81

Unnecessary conditional, value is always falsy (@typescript-eslint/no-unnecessary-condition)

Check failure on line 39 in src/modules/service-registry/services/service-registry.service.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/service-registry/services/service-registry.service.ts#L39

Delete `⏎` (prettier/prettier)

Check failure on line 39 in src/modules/service-registry/services/service-registry.service.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/service-registry/services/service-registry.service.ts#L39

More than 1 blank line not allowed (no-multiple-empty-lines)

Check failure on line 1 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L1

Run autofix to sort these imports! (simple-import-sort/imports)

Check failure on line 21 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L21

Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)

Check failure on line 22 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L22

Expected blank line before this statement (padding-line-between-statements)

Check failure on line 22 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L22

Unsafe return of an `any` typed value (@typescript-eslint/no-unsafe-return)

Check failure on line 22 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L22

Unsafe member access .url on an `any` value (@typescript-eslint/no-unsafe-member-access)

Check failure on line 30 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L30

Unexpected any. Specify a different type (@typescript-eslint/no-explicit-any)

Check failure on line 34 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L34

Unsafe argument of type `any` assigned to a parameter of type `string` (@typescript-eslint/no-unsafe-argument)

Check failure on line 40 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L40

Unsafe assignment of an `any` value (@typescript-eslint/no-unsafe-assignment)

Check failure on line 40 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L40

Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)

Check failure on line 40 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L40

Unsafe member access .toString on an `any` value (@typescript-eslint/no-unsafe-member-access)

Check failure on line 40 in src/modules/subscriptions/subscriptions.controller.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint

src/modules/subscriptions/subscriptions.controller.ts#L40

Prefer `utf8` over `utf-8` (unicorn/text-encoding-identifier-case)