RocketChat/Rocket.Chat

View on GitHub

Showing 9,144 of 9,144 total issues

Avoid too many return statements within this function.
Open

                    return { ...message, _id, t: 'otr-ack', msg };
Severity: Major
Found in apps/meteor/client/startup/otr.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return 'message';
    Severity: Major
    Found in apps/meteor/client/components/message/toolbar/MessageToolbar.tsx - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                              return;
      Severity: Major
      Found in apps/meteor/client/methods/updateMessage.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return c.stop();
        Severity: Major
        Found in apps/meteor/client/startup/rootUrlChange.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return message;
          Severity: Major
          Found in apps/meteor/client/startup/otr.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                            return myself;
            Severity: Major
            Found in apps/meteor/client/lib/federation/Federation.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/federation/Federation.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return reactions[emojiName].names || usernames;

                  Avoid too many return statements within this function.
                  Open

                              return { ...message, _id, msg };
                  Severity: Major
                  Found in apps/meteor/client/startup/otr.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return allowedForOwnersOverDefaultUsers;
                    Severity: Major
                    Found in apps/meteor/client/lib/federation/Federation.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return allowedForModeratorsOverDefaultUsers;
                      Severity: Major
                      Found in apps/meteor/client/lib/federation/Federation.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return true;
                        Severity: Major
                        Found in apps/meteor/client/methods/starMessage.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return true;
                          Severity: Major
                          Found in apps/meteor/client/methods/unpinMessage.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return true;
                            Severity: Major
                            Found in apps/meteor/client/methods/starMessage.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/federation/Federation.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return 'Users_reacted_with';

                                  Avoid too many return statements within this function.
                                  Open

                                              return !displayingUserRoomRoles.includes('owner');
                                  Severity: Major
                                  Found in apps/meteor/client/lib/federation/Federation.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 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/sidebar/RoomList/SideBarItemTemplateWithData.tsx - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language