TryGhost/Ghost

View on GitHub
ghost/importer-revue/lib/json-to-html.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function itemsToHtml has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const itemsToHtml = (items) => {
    let itemHTMLChunks = [];
    items.forEach((item) => {
        let type = item.item_type;

Severity: Major
Found in ghost/importer-revue/lib/json-to-html.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status