airbnb/caravel

View on GitHub

Showing 2,441 of 6,157 total issues

Avoid too many return statements within this function.
Open

    return result as ReturnType;

    Avoid too many return statements within this function.
    Open

          return now;

      Avoid too many return statements within this function.
      Open

          return `${siFormatter(value * 1000000)}µ`;

        Avoid too many return statements within this function.
        Open

            return parsed;

          Avoid too many return statements within this function.
          Open

            return null;

            Avoid too many return statements within this function.
            Open

              return siFormatter(value);

              Avoid too many return statements within this function.
              Open

                    return now;

                Avoid too many return statements within this function.
                Open

                      return shift;

                  Avoid too many return statements within this function.
                  Open

                        return now;

                    Avoid too many return statements within this function.
                    Open

                          return formatMonth;

                      Avoid too many return statements within this function.
                      Open

                        return cloneQueryObject;

                        Avoid too many return statements within this function.
                        Open

                              return isNotFirstDayOfWeek(date) ? formatDay : formatFirstDayOfWeek;

                          Avoid too many return statements within this function.
                          Open

                                return now;

                            Avoid too many return statements within this function.
                            Open

                                  return now;

                              Avoid too many return statements within this function.
                              Open

                                    return now;

                                Avoid too many return statements within this function.
                                Open

                                      return now;

                                  Avoid too many return statements within this function.
                                  Open

                                    return {
                                      customRange: defaultCustomRange,
                                      matchedFlag: false,
                                    };

                                    Avoid too many return statements within this function.
                                    Open

                                        return now;

                                      Avoid too many return statements within this function.
                                      Open

                                          return formatYear;

                                        Avoid too many return statements within this function.
                                        Open

                                          return null;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language