Disable class-methods-use-this
lint rule
This commit is contained in:
@@ -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';
|
||||
|
@@ -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
|
||||
|
@@ -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'
|
||||
|
Reference in New Issue
Block a user