RocketChat/Rocket.Chat

View on GitHub

Showing 9,144 of 9,144 total issues

Avoid too many return statements within this function.
Open

            return false;
Severity: Major
Found in apps/meteor/client/lib/minimongo/comparisons.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                    return false;
    Severity: Major
    Found in apps/meteor/client/lib/minimongo/comparisons.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return true;
      Severity: Major
      Found in apps/meteor/client/lib/chats/flows/processSlashCommand.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return false;
        Severity: Major
        Found in apps/meteor/client/lib/rooms/roomCoordinator.tsx - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return false;
          Severity: Major
          Found in apps/meteor/client/sidebar/RoomList/SideBarItemTemplateWithData.tsx - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                                return team.add(room);
            Severity: Major
            Found in apps/meteor/client/sidebar/hooks/useRoomList.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                  return showOmnichannel && onHold.add(room);
              Severity: Major
              Found in apps/meteor/client/sidebar/hooks/useRoomList.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return false;
                Severity: Major
                Found in apps/meteor/client/lib/minimongo/comparisons.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return false;
                  Severity: Major
                  Found in apps/meteor/client/lib/rooms/roomCoordinator.tsx - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return false;
                    Severity: Major
                    Found in apps/meteor/client/sidebar/RoomList/SideBarItemTemplateWithData.tsx - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return replaced;
                      Severity: Major
                      Found in apps/meteor/client/lib/voip/LocalStream.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return 0;
                        Severity: Major
                        Found in apps/meteor/client/lib/minimongo/bson.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                              return 1;
                          Severity: Major
                          Found in apps/meteor/client/lib/minimongo/bson.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                            return false;
                            Severity: Major
                            Found in apps/meteor/client/lib/rooms/roomCoordinator.tsx - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return true;
                              Severity: Major
                              Found in apps/meteor/client/lib/rooms/roomCoordinator.tsx - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return `${lastMessage.u.name || lastMessage.u.username}: ${normalizeSidebarMessage(lastMessage, t)}`;
                                Severity: Major
                                Found in apps/meteor/client/sidebar/RoomList/SideBarItemTemplateWithData.tsx - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return BSONType.Null;
                                  Severity: Major
                                  Found in apps/meteor/client/lib/minimongo/bson.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return BSONType.Regex;
                                    Severity: Major
                                    Found in apps/meteor/client/lib/minimongo/bson.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return false;
                                      Severity: Major
                                      Found in apps/meteor/client/lib/minimongo/comparisons.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return t('Encrypted_messages_false');
                                        Severity: Major
                                        Found in apps/meteor/client/sidebar/header/hooks/useEncryptedRoomDescription.tsx - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language