RocketChat/Rocket.Chat

View on GitHub

Showing 9,144 of 9,144 total issues

Avoid too many return statements within this function.
Open

    return true;
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/chats/flows/sendMessage.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/voip/LocalStream.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return (a as Uint8Array).length - (b as Uint8Array).length;
        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 (a as Uint8Array)[i] < (b as Uint8Array)[i] ? -1 : 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/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/lists/ThreadsList.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/rooms/roomCoordinator.tsx - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                      return s;
                  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 compileValueOperatorsSelector(valueSelector);
                      Severity: Major
                      Found in apps/meteor/client/lib/minimongo/query.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return this.markAsRead();
                        Severity: Major
                        Found in apps/meteor/client/lib/chats/readStateManager.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return BSONType.JavaScript;
                          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/chats/data.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/chats/flows/sendMessage.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                    return showOmnichannel && omnichannel.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 BSONType.Object;
                                  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 true;
                                    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 deleteAllowed && onTimeForDelete;
                                      Severity: Major
                                      Found in apps/meteor/client/lib/chats/data.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/chats/flows/sendMessage.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language