superdesk/superdesk-client-core

View on GitHub

Showing 3,654 of 3,654 total issues

Avoid too many return statements within this function.
Open

        return block;
Severity: Major
Found in scripts/core/editor3/html/from-html/index.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return {block, newOffset};
    Severity: Major
    Found in scripts/core/editor3/helpers/highlights.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return this.createEmbedBlock(block, this.scripts);
      Severity: Major
      Found in scripts/core/editor3/html/from-html/index.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return processPastedHtml(html || text, editorState, onChange, editorFormat);
        Severity: Major
        Found in scripts/core/editor3/components/handlePastedText.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return <ArticleEmbed {...props} />;
          Severity: Major
          Found in scripts/core/editor3/components/blockRenderer.tsx - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                                return 'handled';
            Severity: Major
            Found in scripts/core/editor3/components/Editor3Component.tsx - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return 'not-handled';
              Severity: Major
              Found in scripts/core/editor3/components/Editor3Component.tsx - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return 'handled';
                Severity: Major
                Found in scripts/core/editor3/components/Editor3Component.tsx - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return saveEditorStatus(state, editorState, 'apply-entity', true);
                  Severity: Major
                  Found in scripts/core/editor3/reducers/suggestions.tsx - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return Highlights.changeEditorSelection(newEditorState, 1, 1, false);
                    Severity: Major
                    Found in scripts/core/editor3/reducers/suggestions.tsx - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return saveEditorStatus(state, editorState, 'change-block-data');
                      Severity: Major
                      Found in scripts/core/editor3/reducers/suggestions.tsx - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return getDefaultKeyBinding(e);
                        Severity: Major
                        Found in scripts/core/editor3/components/Editor3Component.tsx - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return 'handled';
                          Severity: Major
                          Found in scripts/core/editor3/components/Editor3Component.tsx - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return 'not-handled';
                            Severity: Major
                            Found in scripts/core/editor3/components/handlePastedText.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return saveEditorStatus(state, editorState, 'change-inline-style', true);
                              Severity: Major
                              Found in scripts/core/editor3/reducers/suggestions.tsx - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return EditorState.acceptSelection(newEditorState, selection);
                                Severity: Major
                                Found in scripts/core/editor3/reducers/suggestions.tsx - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                  return '';
                                  Severity: Major
                                  Found in scripts/core/editor3/components/Editor3Component.tsx - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return 'not-handled';
                                    Severity: Major
                                    Found in scripts/core/editor3/components/Editor3Component.tsx - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return 'handled';
                                      Severity: Major
                                      Found in scripts/core/editor3/components/Editor3Component.tsx - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return 'handled';
                                        Severity: Major
                                        Found in scripts/core/editor3/components/Editor3Component.tsx - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language