From 79e778c75cc6897ea13e24a59afe88f1d89886f1 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 10 Dec 2024 18:41:07 +0000 Subject: [PATCH] fix: address linting issues --- common/util-common.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/util-common.ts b/common/util-common.ts index c6c5f4b..08aa294 100644 --- a/common/util-common.ts +++ b/common/util-common.ts @@ -250,7 +250,8 @@ function copyYAMLCommentsItems(items: any, srcItems: any) { const item: any = items[i]; // Try to find matching source item by content - const srcIndex = srcItems.findIndex((srcItem: any) => + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const srcIndex = srcItems.findIndex((srcItem: any) => JSON.stringify(srcItem.value) === JSON.stringify(item.value) && JSON.stringify(srcItem.key) === JSON.stringify(item.key) );