chore: Remove console.log left in code and added eslint rule to prevent it happening again

This commit is contained in:
Tom Moor
2023-04-11 22:15:52 -04:00
parent a9800165c1
commit 49d903d6d4
19 changed files with 59 additions and 47 deletions

View File

@@ -37,8 +37,8 @@ export default abstract class Node extends Extension {
return {};
}
toMarkdown(state: MarkdownSerializerState, node: ProsemirrorNode): void {
console.error("toMarkdown not implemented", state, node);
toMarkdown(_state: MarkdownSerializerState, _node: ProsemirrorNode) {
throw new Error("toMarkdown not implemented");
}
parseMarkdown(): TokenConfig | void {