Skip to content

Commit 92dbd3b

Browse files
committed
Fix lint
1 parent eca4451 commit 92dbd3b

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/lib/output/themes/MarkedPlugin.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,8 @@ export class MarkedPlugin extends ContextAwareRendererComponent {
193193
target: refl,
194194
link: part,
195195
});
196-
} else {
197-
console.log("NOPE", part);
198196
}
199197
}
200-
if (url.endsWith("Options.Configuration.html")) {
201-
debugger;
202-
}
203198
result.push(url);
204199
break;
205200
}
@@ -296,7 +291,7 @@ export class MarkedPlugin extends ContextAwareRendererComponent {
296291
return `<a id="${slug}" class="tsd-anchor"></a><${token.tag} class="tsd-anchor-link">`;
297292
};
298293
this.parser.renderer.rules["heading_close"] = (tokens, idx) => {
299-
return `${renderElement(anchorIcon(this.renderContext, `${this.lastHeaderSlug}`))}</${tokens[idx].tag}>`;
294+
return `${renderElement(anchorIcon(this.renderContext, this.lastHeaderSlug))}</${tokens[idx].tag}>`;
300295
};
301296

302297
// Rewrite anchor links inline in a readme file to links targeting the `md:` prefixed anchors

src/lib/output/themes/default/DefaultTheme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ export class DefaultTheme extends Theme {
461461

462462
if (!reflection.url || !DefaultTheme.URL_PREFIX.test(reflection.url)) {
463463
let refl: Reflection | undefined = reflection;
464-
let parts = [refl.name];
464+
const parts = [refl.name];
465465
while (refl.parent && refl.parent !== container && !(reflection.parent instanceof ProjectReflection)) {
466466
refl = refl.parent;
467467
// Avoid duplicate names for signatures

0 commit comments

Comments
 (0)