Skip to content

fix(server): add user ID to JWT token and fix profile loading #221

fix(server): add user ID to JWT token and fix profile loading

fix(server): add user ID to JWT token and fix profile loading #221

Triggered via push December 1, 2025 14:56
Status Failure
Total duration 24s
Artifacts

linter.yml

on: push
backend-linter
18s
backend-linter
frontend-linter
19s
frontend-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L362
'opponent' is assigned a value but never used. Allowed unused vars must match /^_/u
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L195
'e' is defined but never used. Allowed unused caught errors must match /^_/u
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L144
Unsafe member access .avatar on an `any` value
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L144
Unsafe assignment of an `any` value
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L143
Unsafe member access .username on an `any` value
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L143
Unsafe assignment of an `any` value
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L76
Unsafe member access .message on an `any` value
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L66
Unsafe member access .address on an `any` value
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L62
Unsafe member access .address on an `any` value
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L60
Unsafe assignment of an `any` value
backend-linter
The process '/usr/bin/git' failed with exit code 128
backend-linter: server/src/game/rooms/LobbyRoom.ts#L38
Unsafe argument of type `any` assigned to a parameter of type `string`
backend-linter: server/src/game/rooms/LobbyRoom.ts#L34
Unsafe argument of type `any` assigned to a parameter of type `Partial<RoomInfo>`
backend-linter: server/src/game/rooms/LobbyRoom.ts#L34
Unsafe argument of type `any` assigned to a parameter of type `string`
backend-linter: server/src/game/rooms/LobbyRoom.ts#L32
Unsafe argument of type `any` assigned to a parameter of type `RoomInfo`
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L810
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L804
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L97
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
backend-linter: server/src/game/rooms/BackgammonRoom.ts#L62
Unsafe argument of type `any` assigned to a parameter of type `string`
frontend-linter
The process '/usr/bin/git' failed with exit code 128