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
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,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'