scripts/apps/workspace/content/components/get-editor-config.tsx
Function getEditorConfig
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function getEditorConfig(contentTypeId) {
const content = ng.get('content');
const metadata = ng.get('metadata');
return Promise.all([