Disable class-methods-use-this
lint rule
This commit is contained in:
parent
569a14e897
commit
d6ffb08a63
35 changed files with 8 additions and 80 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue