teableio/teable

View on GitHub

Showing 671 of 671 total issues

Avoid too many return statements within this function.
Open

    return obj.id ?? obj.email ?? obj.title ?? obj.name ?? undefined;
Severity: Major
Found in apps/nestjs-backend/src/features/record/typecast.validate.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return acc;
    Severity: Major
    Found in apps/nestjs-backend/src/features/calculation/link.service.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                return t('field.default.rollup.title', lookupName);

        Avoid too many return statements within this function.
        Open

          return undefined;
        Severity: Major
        Found in apps/nestjs-backend/src/features/record/typecast.validate.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return (cellValue as any)[0];
          Severity: Major
          Found in apps/nestjs-backend/test/sort.e2e-spec.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return acc;
            Severity: Major
            Found in apps/nestjs-backend/src/features/calculation/link.service.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return null;
              Severity: Major
              Found in apps/nestjs-backend/src/features/calculation/reference.service.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return;

                  Avoid too many return statements within this function.
                  Open

                          return formatDateToString(cellValue as string, (options as IDateFieldOptions).formatting);
                  Severity: Major
                  Found in apps/nestjs-backend/test/sort.e2e-spec.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return chartInstance;

                      Avoid too many return statements within this function.
                      Open

                              return {
                                operation,
                                index,
                                value: valueJson,
                              };
                      Severity: Major
                      Found in apps/nextjs-app/src/features/app/components/ai-chat/parser/parseLine.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return null;
                        Severity: Major
                        Found in apps/nestjs-backend/src/features/record/typecast.validate.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                    return cellValue
                                      .map((v) => formatDateToString(v, (options as IDateFieldOptions).formatting))
                                      .join(', ');
                          Severity: Major
                          Found in apps/nestjs-backend/test/sort.e2e-spec.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                              return stackData;
                            Severity: Major
                            Found in apps/nextjs-app/src/features/app/blocks/view/kanban/utils/filter.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return;

                                Avoid too many return statements within this function.
                                Open

                                      return res;
                                Severity: Major
                                Found in apps/nextjs-app/src/lib/ensureLogin.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return handler(context);
                                  Severity: Major
                                  Found in apps/nextjs-app/src/lib/ensureLogin.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return stackList.filter(({ count }) => count > 0);

                                      Avoid too many return statements within this function.
                                      Open

                                          return stackList;

                                        Avoid too many return statements within this function.
                                        Open

                                              if (stack == null) return;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language