diff --git a/src/contentFetcher.ts b/src/contentFetcher.ts index cbba7fb7..233dfd31 100644 --- a/src/contentFetcher.ts +++ b/src/contentFetcher.ts @@ -128,7 +128,6 @@ export class ContentFetcher { throw new Error('The API key must be provided to fetch static content.'); } - return new Promise>((resolve, reject) => { const abortController = new AbortController(); const timeout = options.timeout ?? this.configuration.defaultTimeout; diff --git a/src/logging/consoleLogger.ts b/src/logging/consoleLogger.ts index 2602a10e..6b70f349 100644 --- a/src/logging/consoleLogger.ts +++ b/src/logging/consoleLogger.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console -- This is a logging utility */ import {Logger} from './logger'; type ConsoleMethod = {