FarmBot/Farmbot-Web-App

View on GitHub

Showing 646 of 1,897 total issues

Avoid too many return statements within this function.
Open

  return SemverResult.EQUAL;
Severity: Major
Found in frontend/util/version.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return { status: "DELETE", kind: kind, id }; // 'null' body means delete.
    Severity: Major
    Found in frontend/connectivity/auto_sync.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return SemverResult.LEFT_IS_GREATER;
      Severity: Major
      Found in frontend/util/version.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return "yellow";
        Severity: Major
        Found in frontend/settings/fbos_settings/fbos_details.tsx - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return "green";
          Severity: Major
          Found in frontend/settings/fbos_settings/fbos_details.tsx - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return SemverResult.RIGHT_IS_GREATER;
            Severity: Major
            Found in frontend/util/version.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return compact(panelMatches)[0];
              Severity: Major
              Found in frontend/farm_designer/panel_header.tsx - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                  return botToMqttLastSeen;
                Severity: Major
                Found in frontend/settings/fbos_settings/last_seen_row.tsx - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return formatTool(findToolById(resources, tool_id), toolSlot);
                  Severity: Major
                  Found in frontend/resources/sequence_meta.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return "";
                    Severity: Major
                    Found in frontend/controls/move/home_button.tsx - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                        return 0;
                      Severity: Major
                      Found in frontend/settings/pin_bindings/list_and_label_support.tsx - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return t("Add new");
                        Severity: Major
                        Found in frontend/resources/sequence_meta.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return {
                                    label: `${group.body.name} (${count})`,
                                    value
                                  };
                          Severity: Major
                          Found in frontend/resources/sequence_meta.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return t("Axis is already at minimum position");
                            Severity: Major
                            Found in frontend/controls/move/direction_button.tsx - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return undefined;
                              Severity: Major
                              Found in frontend/resources/sequence_meta.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return formatPoint(pointer);
                                Severity: Major
                                Found in frontend/resources/sequence_meta.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return t("Stall detection is disabled for one or more axes.");
                                  Severity: Major
                                  Found in frontend/controls/move/home_button.tsx - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return "";
                                    Severity: Major
                                    Found in frontend/controls/move/direction_button.tsx - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return state;
                                      Severity: Major
                                      Found in frontend/resources/reducer_support.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                              return <div className={"os-download-wizard"}>
                                                <p className={"os-download-wizard-note"}>
                                                  {`${t("You have a FarmBot")} ${this.state.model} ${this.state.version}`}
                                                </p>
                                                <DownloadLink {...(DOWNLOADS()[this.state.model][
                                        Severity: Major
                                        Found in frontend/os_download/content.tsx - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language