Disable class-methods-use-this lint rule

This commit is contained in:
Evan Hahn 2021-11-04 16:04:51 -05:00 committed by GitHub
parent 569a14e897
commit d6ffb08a63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 8 additions and 80 deletions

View file

@ -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) {