time/EventRenderer.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function renderContent has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  renderContent(context: HtmlRR0SsgContext, rr0Data: D, container: HTMLElement): void {
    const outDoc = context.file.document
    const time = rr0Data.dateTime
    const timeEl = outDoc.createElement("time") as HTMLTimeElement
    const timeValue = timeEl.dateTime = time.toString()
Severity: Minor
Found in time/EventRenderer.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status