fix: address linting issues

This commit is contained in:
michael 2024-12-10 18:41:07 +00:00
parent 8a2217c2b9
commit 79e778c75c

View file

@ -250,6 +250,7 @@ function copyYAMLCommentsItems(items: any, srcItems: any) {
const item: any = items[i];
// Try to find matching source item by content
// 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)