diff --git a/src/interactive-auth.ts b/src/interactive-auth.ts index 4ad0f4dd0..5d6dcd83c 100644 --- a/src/interactive-auth.ts +++ b/src/interactive-auth.ts @@ -18,8 +18,6 @@ limitations under the License. /** @module interactive-auth */ -import url from "url"; - import * as utils from "./utils"; import { logger } from './logger'; import { MatrixClient } from "./client"; diff --git a/src/models/search-result.ts b/src/models/search-result.ts index 486e30abf..1dc16ea84 100644 --- a/src/models/search-result.ts +++ b/src/models/search-result.ts @@ -21,7 +21,6 @@ limitations under the License. import { EventContext } from "./event-context"; import { EventMapper } from "../event-mapper"; import { IResultContext, ISearchResult } from "../@types/search"; -import { IRoomEvent } from "../sync-accumulator"; export class SearchResult { /** diff --git a/src/scheduler.ts b/src/scheduler.ts index 845ea1c44..b83a57eba 100644 --- a/src/scheduler.ts +++ b/src/scheduler.ts @@ -62,6 +62,7 @@ export class MatrixScheduler { * @return {Number} * @see module:scheduler~retryAlgorithm */ + // eslint-disable-next-line @typescript-eslint/naming-convention public static RETRY_BACKOFF_RATELIMIT(event: MatrixEvent, attempts: number, err: MatrixError): number { if (err.httpStatus === 400 || err.httpStatus === 403 || err.httpStatus === 401) { // client error; no amount of retrying with save you now. @@ -97,6 +98,7 @@ export class MatrixScheduler { * @return {string} * @see module:scheduler~queueAlgorithm */ + // eslint-disable-next-line @typescript-eslint/naming-convention public static QUEUE_MESSAGES(event: MatrixEvent) { // enqueue messages or events that associate with another event (redactions and relations) if (event.getType() === EventType.RoomMessage || event.hasAssocation()) {