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/app/importer/server/classes/Importer.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return false;
    Severity: Major
    Found in apps/meteor/app/importer-slack/server/SlackImporter.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return null;
      Severity: Major
      Found in apps/meteor/app/utils/server/getUserNotificationPreference.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                        return true;
        Severity: Major
        Found in apps/meteor/app/importer-slack/server/SlackImporter.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                              return false;
          Severity: Major
          Found in apps/meteor/app/importer/server/classes/ImportDataConverter.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                            return false;
            Severity: Major
            Found in apps/meteor/app/reactions/client/init.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

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

                Avoid too many return statements within this function.
                Open

                    return url;
                Severity: Major
                Found in apps/meteor/app/utils/lib/getURL.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return;
                  Severity: Major
                  Found in apps/meteor/app/settings/lib/settings.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return true;
                    Severity: Major
                    Found in apps/meteor/app/2fa/server/code/index.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

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

                        Avoid too many return statements within this function.
                        Open

                                return false;
                        Severity: Major
                        Found in apps/meteor/app/2fa/server/code/index.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return value;
                          Severity: Major
                          Found in apps/meteor/app/settings/server/functions/convertValue.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return Meteor.settings?.[_id];
                            Severity: Major
                            Found in apps/meteor/app/settings/lib/settings.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return false;
                              Severity: Major
                              Found in apps/meteor/app/2fa/server/code/index.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

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

                                  Avoid too many return statements within this function.
                                  Open

                                      return true;
                                  Severity: Major
                                  Found in apps/meteor/app/2fa/server/code/index.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return Object.keys(Meteor.settings).reduce((items: SettingComposedValue<T>[], key) => {
                                                    const value = Meteor.settings[key];
                                                    if (_id.test(key)) {
                                                        items.push({
                                                            key,
                                    Severity: Major
                                    Found in apps/meteor/app/settings/lib/settings.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

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

                                        Avoid too many return statements within this function.
                                        Open

                                                return result;
                                        Severity: Major
                                        Found in apps/meteor/app/crowd/server/crowd.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language