Skip to content

Commit ca3b5ae

Browse files
committed
Fix lint
1 parent 28e0d95 commit ca3b5ae

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/managers/fcmListenerManager.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@ async function pairingEntityStorageMonitor(flm: FcmListenerManager, steamId: typ
617617
}
618618
}
619619

620+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
620621
async function alarmAlarm(flm: FcmListenerManager, steamId: types.SteamId, title: string, message: string,
621622
body: AlarmAlarmBody) {
622623
/* Unfortunately the alarm notification from the fcm listener is unreliable. The notification does not include
@@ -658,6 +659,7 @@ async function alarmAlarm(flm: FcmListenerManager, steamId: types.SteamId, title
658659
}
659660
}
660661

662+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
661663
async function alarmPlugin(flm: FcmListenerManager, steamId: types.SteamId, title: string, message: string,
662664
body: AlarmPluginBody) {
663665
const funcName = `[FcmListenerManager: alarmPlugin: ${steamId}]`;
@@ -703,6 +705,7 @@ async function alarmPlugin(flm: FcmListenerManager, steamId: types.SteamId, titl
703705
}
704706
}
705707

708+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
706709
async function playerDeath(flm: FcmListenerManager, steamId: types.SteamId, title: string, body: PlayerDeathBody) {
707710
const funcName = `[FcmListenerManager: playerDeath: ${steamId}]`;
708711
const credentials = cm.getCredentials(steamId);
@@ -715,6 +718,7 @@ async function playerDeath(flm: FcmListenerManager, steamId: types.SteamId, titl
715718
await discordMessages.sendFcmPlayerDeathMessage(flm.dm, steamId, title, body);
716719
}
717720

721+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
718722
async function teamLogin(flm: FcmListenerManager, steamId: types.SteamId, body: TeamLoginBody) {
719723
const funcName = `[FcmListenerManager: teamLogin: ${steamId}]`;
720724
const credentials = cm.getCredentials(steamId);
@@ -743,6 +747,7 @@ async function teamLogin(flm: FcmListenerManager, steamId: types.SteamId, body:
743747
}
744748
}
745749

750+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
746751
async function newsNews(flm: FcmListenerManager, steamId: types.SteamId, title: string, message: string,
747752
body: NewsNewsBody) {
748753
const funcName = `[FcmListenerManager: newsNews: ${steamId}]`;

src/managers/rustPlusManager.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@ export class RustPlusInstance {
273273
}
274274

275275
private async serverPolling(firstPoll: boolean = false) {
276+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
276277
const funcName = '[RustPlusManager: serverPolling]';
278+
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
277279
const logParam = { guildId: this.guildId, serverId: this.serverId, serverName: this.serverName };
278280

279281
this.lastServerPollSuccessful = false;

src/rustPlusEvents/connected.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@
1818
1919
*/
2020

21-
import * as rp from 'rustplus-ts';
21+
//import * as rp from 'rustplus-ts';
2222

23-
import { log, discordManager as dm, guildInstanceManager as gim } from '../../index';
23+
import { log, discordManager as dm } from '../../index';
2424
import { RustPlusInstance, ConnectionStatus } from "../managers/rustPlusManager";
2525
import { sendServerMessage } from '../discordUtils/discordMessages';
26-
import { GuildInstance } from '../managers/guildInstanceManager';
2726

2827
export const name = 'connected';
2928

0 commit comments

Comments
 (0)