TryGhost/Ghost

View on GitHub
apps/admin-x-activitypub/src/components/articleBodyStyles.ts

Summary

Maintainability
F
1 mo
Test Coverage

Function articleBodyStyles has 4696 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const articleBodyStyles = (siteUrl: string|undefined) => {
    return `<style>
    /* Table of contents
/* ------------------------------------------------------------

Severity: Major
Found in apps/admin-x-activitypub/src/components/articleBodyStyles.ts - About 3 wks to fix

    File articleBodyStyles.ts has 4699 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    const articleBodyStyles = (siteUrl: string|undefined) => {
        return `<style>
        /* Table of contents
    /* ------------------------------------------------------------
    
    
    Severity: Major
    Found in apps/admin-x-activitypub/src/components/articleBodyStyles.ts - About 1 wk to fix

      There are no issues that match your filters.

      Category
      Status