From a3fd8915305773fc7448c7b7bf9c168d557e17cf Mon Sep 17 00:00:00 2001 From: Alexis Faizeau Date: Wed, 13 Apr 2022 15:32:25 +0200 Subject: [PATCH] Fix linting errors --- back/src/Services/SocketManager.ts | 1 - front/src/Phaser/Game/GameScene.ts | 1 - pusher/src/Controller/AuthenticateController.ts | 2 +- pusher/src/Services/LocalAdmin.ts | 3 +++ 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/back/src/Services/SocketManager.ts b/back/src/Services/SocketManager.ts index 83f54099..c186658f 100644 --- a/back/src/Services/SocketManager.ts +++ b/back/src/Services/SocketManager.ts @@ -38,7 +38,6 @@ import { PlayerDetailsUpdatedMessage, GroupUsersUpdateMessage, LockGroupPromptMessage, - RoomMessage, } from "../Messages/generated/messages_pb"; import { User, UserSocket } from "../Model/User"; import { ProtobufUtils } from "../Model/Websocket/ProtobufUtils"; diff --git a/front/src/Phaser/Game/GameScene.ts b/front/src/Phaser/Game/GameScene.ts index 2ec3f158..ab8f572c 100644 --- a/front/src/Phaser/Game/GameScene.ts +++ b/front/src/Phaser/Game/GameScene.ts @@ -224,7 +224,6 @@ export class GameScene extends DirtyScene { private firstCameraUpdateSent: boolean = false; private currentPlayerGroupId?: number; private showVoiceIndicatorChangeMessageSent: boolean = false; - private currentPlayerGroupId?: number; private jitsiDominantSpeaker: boolean = false; private jitsiParticipantsCount: number = 0; public readonly superLoad: SuperLoaderPlugin; diff --git a/pusher/src/Controller/AuthenticateController.ts b/pusher/src/Controller/AuthenticateController.ts index fc107949..3fc122a0 100644 --- a/pusher/src/Controller/AuthenticateController.ts +++ b/pusher/src/Controller/AuthenticateController.ts @@ -1,6 +1,6 @@ import { v4 } from "uuid"; import { BaseHttpController } from "./BaseHttpController"; -import { adminApi, FetchMemberDataByUuidResponse } from "../Services/AdminApi"; +import { adminApi } from "../Services/AdminApi"; import { AuthTokenData, jwtTokenManager } from "../Services/JWTTokenManager"; import { parse } from "query-string"; import { openIDClient } from "../Services/OpenIDClient"; diff --git a/pusher/src/Services/LocalAdmin.ts b/pusher/src/Services/LocalAdmin.ts index 55ea2fcf..4e2c41a0 100644 --- a/pusher/src/Services/LocalAdmin.ts +++ b/pusher/src/Services/LocalAdmin.ts @@ -7,8 +7,11 @@ import { AdminInterface } from "./AdminInterface"; class LocalAdmin implements AdminInterface { fetchMemberDataByUuid( userIdentifier: string, + // eslint-disable-next-line @typescript-eslint/no-unused-vars playUri: string, + // eslint-disable-next-line @typescript-eslint/no-unused-vars ipAddress: string, + // eslint-disable-next-line @typescript-eslint/no-unused-vars characterLayers: string[] ): Promise { return Promise.resolve({