Skip to content

Commit 02255f6

Browse files
committed
chore: lint
1 parent 05d8a4f commit 02255f6

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

confiture-web-app/src/components/tiptap/AraTiptapRenderedExtension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Extension, Node } from "@tiptap/core";
2-
import { Plugin, PluginKey, Transaction } from "@tiptap/pm/state";
1+
import { Extension } from "@tiptap/core";
2+
import { Plugin, PluginKey } from "@tiptap/pm/state";
33
import { Decoration, DecorationSet } from "prosemirror-view";
44

55
export interface AraTiptapRenderedExtensionOptions {

confiture-web-app/src/components/tiptap/tiptap-extensions.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import ts from "highlight.js/lib/languages/typescript";
1212
import html from "highlight.js/lib/languages/xml";
1313
import { common, createLowlight } from "lowlight";
1414
import { Markdown } from "tiptap-markdown";
15+
1516
import { AraTiptapRenderedExtension } from "./AraTiptapRenderedExtension";
1617

1718
// Define needed heading levels
@@ -42,7 +43,7 @@ const extendedLink = Link.extend({
4243
// "rel" is always reset to "noopener noreferrer"
4344
rel: {
4445
default: null,
45-
renderHTML: (attributes) => {
46+
renderHTML: () => {
4647
return {
4748
rel: "noopener noreferrer"
4849
};
@@ -53,7 +54,7 @@ const extendedLink = Link.extend({
5354
// - "_blank" when rendered
5455
target: {
5556
default: null,
56-
renderHTML: (attributes) => {
57+
renderHTML: () => {
5758
return {
5859
target: this.options.HTMLAttributes.target
5960
};

0 commit comments

Comments
 (0)