shawnholman/Aych

View on GitHub
src/elements/NestableElement.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function constructor has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    constructor(tag: string, tier1?: string | Renderable | Attributes, tier2?: string | Renderable | Attributes,  ...children: (Renderable|string)[]) {
        super(tag);

        if (isString(tier1) || isRenderable(tier1)) {
            if (isString(tier1) && Element.isIdentifierString(tier1)) {
Severity: Minor
Found in src/elements/NestableElement.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status