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
35 changed files with 8 additions and 80 deletions

View File

@@ -1,9 +1,7 @@
// Copyright 2015-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
/* eslint-disable
class-methods-use-this,
@typescript-eslint/no-empty-function
*/
/* eslint-disable @typescript-eslint/no-empty-function */
import { assert } from 'chai';
import { v4 as getGuid } from 'uuid';

View File

@@ -1,7 +1,7 @@
// Copyright 2015-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
/* eslint-disable
class-methods-use-this,
no-new,
@typescript-eslint/no-empty-function,
@typescript-eslint/no-explicit-any

View File

@@ -21,7 +21,6 @@ class FakeIPC extends EventEmitter implements MinimalIPC {
return this.state;
}
// eslint-disable-next-line class-methods-use-this
public send() {
throw new Error(
'This should not be called. It is only here to satisfy the interface'