Disable class-methods-use-this
lint rule
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2020 Signal Messenger, LLC
|
||||
// Copyright 2020-2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import PQueue from 'p-queue';
|
||||
@@ -12,7 +12,6 @@ const ringtoneEventQueue = new PQueue({
|
||||
class CallingTones {
|
||||
private ringtone?: Sound;
|
||||
|
||||
// eslint-disable-next-line class-methods-use-this
|
||||
async playEndCall(): Promise<void> {
|
||||
const canPlayTone = window.Events.getCallRingtoneNotification();
|
||||
if (!canPlayTone) {
|
||||
@@ -55,7 +54,6 @@ class CallingTones {
|
||||
});
|
||||
}
|
||||
|
||||
// eslint-disable-next-line class-methods-use-this
|
||||
async someonePresenting() {
|
||||
const canPlayTone = window.Events.getCallRingtoneNotification();
|
||||
if (!canPlayTone) {
|
||||
|
Reference in New Issue
Block a user