Skip to content

Commit 3879b30

Browse files
committed
make the linter happy
1 parent 41e8126 commit 3879b30

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/rich-text/schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,10 +455,10 @@ const nodes: {
455455
return [
456456
"a",
457457
{
458-
tagType: node.attrs.tagType,
458+
tagType: node.attrs.tagType as string,
459459
href: node.attrs.href as string,
460460
title: node.attrs.title as string,
461-
class: "s-tag " + node.attrs.additionalClasses
461+
class: `s-tag ${node.attrs.additionalClasses as string}`
462462
},
463463
node.attrs.tagName
464464
];

src/shared/markdown-it/tag-link.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ function parse_tag_link(
6767
else {
6868
// We don't want to crash the parsing process here since we can still display a passable version of the tag link.
6969
// However, we should at least log a console error.
70+
// eslint-disable-next-line no-console
7071
console.error(`Unable to fully render taglink for [${tagName}] due to invalid response from options.renderer.`);
7172
}
7273
}

0 commit comments

Comments
 (0)