storipress/karbon

View on GitHub
packages/karbon/src/runtime/api/normalize-article.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function normalizeArticle has 54 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function normalizeArticle(article: RawArticleLike | TypesenseArticleLike) {
  const {
    title,
    blurb,
    seo,
Severity: Major
Found in packages/karbon/src/runtime/api/normalize-article.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status