RocketChat/Rocket.Chat

View on GitHub

Showing 9,144 of 9,144 total issues

Avoid too many return statements within this function.
Open

    return {
        action: 'purchase',
        label: 'Install',
    };
Severity: Major
Found in apps/meteor/client/views/marketplace/helpers.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return {
                    label: appRequestStats.totalUnseen > 1 ? 'requests' : 'request',
                };
    Severity: Major
    Found in apps/meteor/client/views/marketplace/helpers.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                          return;
      Severity: Major
      Found in apps/meteor/client/views/admin/import/PrepareImportPage.tsx - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return <ImportProgressPage />;
        Severity: Major
        Found in apps/meteor/client/views/admin/import/ImportRoute.tsx - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return newState;
          Severity: Major
          Found in apps/meteor/client/views/audit/components/forms/DateRangePicker.tsx - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return null;
            Severity: Major
            Found in apps/meteor/client/views/admin/import/ImportRoute.tsx - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                      return first.focus();
              Severity: Major
              Found in apps/meteor/client/views/modal/uikit/ModalBlock.tsx - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return <IntegrationsPage />;
                Severity: Major
                Found in apps/meteor/client/views/admin/integrations/IntegrationsRoute.tsx - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return <BaseGroupPage {...group} onClickBack={onClickBack} hasReset={false} />;

                    Avoid too many return statements within this function.
                    Open

                                            return;
                    Severity: Major
                    Found in apps/meteor/client/views/modal/uikit/ModalBlock.tsx - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return <BaseGroupPage {...group} onClickBack={onClickBack} />;

                        Avoid too many return statements within this function.
                        Open

                                        return;
                        Severity: Major
                        Found in apps/meteor/client/views/room/composer/messageBox/MessageBox.tsx - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return '';
                          Severity: Major
                          Found in apps/meteor/client/views/room/MessageList/hooks/useMessageBody.tsx - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return <RoomHeader slots={slots} room={room} />;
                            Severity: Major
                            Found in apps/meteor/client/views/room/HeaderV2/Header.tsx - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return <RoomHeader room={room} topic={room.topic} slots={slots} />;
                              Severity: Major
                              Found in apps/meteor/client/views/room/Header/Header.tsx - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return <ComposerJoinWithPassword />;
                                Severity: Major
                                Found in apps/meteor/client/views/room/composer/ComposerContainer.tsx - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return (
                                          <>
                                              {children}
                                              <ComposerMessage readOnly={room.ro} {...props} />
                                          </>
                                  Severity: Major
                                  Found in apps/meteor/client/views/room/composer/ComposerContainer.tsx - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return <AudioPlayer src={url} />;
                                    Severity: Major
                                    Found in apps/meteor/client/views/room/modals/FileUploadModal/MediaPreview.tsx - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return;
                                      Severity: Major
                                      Found in apps/meteor/client/views/room/composer/messageBox/MessageBox.tsx - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return <DirectRoomHeader slots={slots} room={room} />;
                                        Severity: Major
                                        Found in apps/meteor/client/views/room/Header/Header.tsx - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language