superdesk/superdesk-client-core

View on GitHub
scripts/apps/workspace/content/components/get-editor-config.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function getEditorConfig has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function getEditorConfig(contentTypeId) {
    const content = ng.get('content');
    const metadata = ng.get('metadata');

    return Promise.all([
Severity: Minor
Found in scripts/apps/workspace/content/components/get-editor-config.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status