superdesk/superdesk-client-core

View on GitHub
scripts/core/editor3/actions/editor3.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function dragDrop has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function dragDrop(
    dataTransfer: DataTransfer,
    type: string,
    blockKey: string | null,
    _canAddArticleEmbed?: (srcId: string) => ReturnType<typeof canAddArticleEmbed>,
Severity: Minor
Found in scripts/core/editor3/actions/editor3.tsx - About 2 hrs to fix

    Function setActiveCell has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export function setActiveCell(i, j, key, currentStyle, selection): ISetActiveCellReturnType {
    Severity: Minor
    Found in scripts/core/editor3/actions/editor3.tsx - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status