From d4f30fd85f210b1142cfe61253a9e1881aa8c6cb Mon Sep 17 00:00:00 2001 From: Juan Date: Wed, 27 Nov 2024 05:45:14 -0300 Subject: [PATCH] Ignore lint errors --- packages/moments/src/client/MomentsClient.ts | 4 ++++ packages/utils/src/queries/filter.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/packages/moments/src/client/MomentsClient.ts b/packages/moments/src/client/MomentsClient.ts index a389b4d..5876f77 100644 --- a/packages/moments/src/client/MomentsClient.ts +++ b/packages/moments/src/client/MomentsClient.ts @@ -127,6 +127,10 @@ export class MomentsClient { media.fileBinary, url, media.fileType, + // FIXME the given function could return a promise but + // - moments api provider doesn't expect a fouth argument + // - poap moments api accepts a function that does not returns a promise + // eslint-disable-next-line @typescript-eslint/no-misused-promises onFileUploadProgress, ); diff --git a/packages/utils/src/queries/filter.ts b/packages/utils/src/queries/filter.ts index 8bee051..faecd15 100644 --- a/packages/utils/src/queries/filter.ts +++ b/packages/utils/src/queries/filter.ts @@ -57,6 +57,7 @@ export function createAddressFilter( : {}; } +// eslint-disable-next-line complexity export function createNotNullAddressFilter( key: string, filterZeroAddress = true,