KnodesCommunity/typedoc-plugins

View on GitHub
packages/plugin-code-blocks/src/output/markdown-code-blocks.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
94%

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

    private _replaceCodeBlock( match: MarkdownReplacer.Match, sourceHint: MarkdownReplacer.SourceHint ) {
        // Avoid recursion in code blocks
        if( this._currentPageMemo.currentReflection instanceof DeclarationReflection && this._currentPageMemo.currentReflection.kind === CODEBLOCK_KIND ){
            return undefined;
        }
Severity: Minor
Found in packages/plugin-code-blocks/src/output/markdown-code-blocks.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status