ilios/frontend

View on GitHub

Showing 92 of 92 total issues

Avoid too many return statements within this function.
Open

        return _asArray(content);
Severity: Major
Found in packages/ilios-common/addon/utils/as-array.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return 0;
    Severity: Major
    Found in packages/ilios-common/addon/components/single-event.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return Array.from(maybeArray.values());
      Severity: Major
      Found in packages/ilios-common/addon/utils/as-array.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return obj[prop];

          Avoid too many return statements within this function.
          Open

                return true;
          Severity: Major
          Found in packages/ilios-common/addon/models/user.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return true;
            Severity: Major
            Found in packages/ilios-common/addon/models/user.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return collator.compare(aValue, bValue);
              Severity: Major
              Found in packages/ilios-common/addon/helpers/sort-by.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return true;
                Severity: Major
                Found in packages/ilios-common/addon/models/user.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return Array.from(maybeArray.values());
                  Severity: Major
                  Found in packages/ilios-common/addon/utils/as-array.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return true;
                    Severity: Major
                    Found in packages/ilios-common/addon/models/user.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return content.toArray();
                      Severity: Major
                      Found in packages/ilios-common/addon/utils/as-array.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                          return 0;
                        Severity: Major
                        Found in packages/ilios-common/addon/helpers/sort-by.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                return maybeArray.toArray();
                          Severity: Major
                          Found in packages/ilios-common/addon/utils/as-array.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return 'file';
                            Severity: Major
                            Found in packages/ilios-common/addon/components/lm-type-icon.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return 0;
                              Severity: Major
                              Found in packages/ilios-common/addon/components/single-event.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return 0;
                                Severity: Major
                                Found in packages/ilios-common/addon/components/single-event.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return -1;
                                  Severity: Major
                                  Found in packages/ilios-common/addon/helpers/sort-by.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return true;
                                    Severity: Major
                                    Found in packages/ilios-common/addon/models/user.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return false;
                                      Severity: Major
                                      Found in packages/ilios-common/addon/models/user.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                          return maybeArray;
                                        Severity: Major
                                        Found in packages/ilios-common/addon/utils/as-array.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language