Use @ts-expect-error instead of @ts-ignore

[MAILPOET-6354]
This commit is contained in:
Jan Lysý
2024-12-13 14:42:21 +01:00
committed by Aschepikov
parent 9edd4a6096
commit 0b44ccdb4a

View File

@ -115,8 +115,7 @@ function extendRichTextFormats() {
title: __( 'Personalization Tags', 'mailpoet' ),
className: 'mailpoet-email-editor-personalization-tags',
tagName: 'span',
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- The types does not match
// @ts-ignore
// @ts-expect-error
attributes: {},
edit: PersonalizationTagsButton,
} );