From 3a8da5e7e034da29d0de0abd4bcedba108a07416 Mon Sep 17 00:00:00 2001 From: Martin Ratinaud Date: Thu, 15 Sep 2022 10:36:57 +0400 Subject: [PATCH] disable eslint as it raises a false positive and created the corresponding issue in their repo https://github.com/node-fetch/fetch-charset-detection/issues/247 --- src/archivist/fetcher/htmlOnlyFetcher.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/archivist/fetcher/htmlOnlyFetcher.js b/src/archivist/fetcher/htmlOnlyFetcher.js index 830ca3633..5b54e9384 100644 --- a/src/archivist/fetcher/htmlOnlyFetcher.js +++ b/src/archivist/fetcher/htmlOnlyFetcher.js @@ -1,5 +1,6 @@ import AbortController from 'abort-controller'; -import convertBody from 'fetch-charset-detection'; +// https://github.com/node-fetch/fetch-charset-detection/issues/247 +import convertBody from 'fetch-charset-detection'; // eslint-disable-line import/no-unresolved import HttpProxyAgent from 'http-proxy-agent'; import HttpsProxyAgent from 'https-proxy-agent'; import nodeFetch, { AbortError } from 'node-fetch';