teableio/teable

View on GitHub

Showing 671 of 671 total issues

Avoid too many return statements within this function.
Open

            return {
              type: CellType.Number,
              data: cellValue as number,
              displayData: field.cellValue2String(cellValue),
              contentAlign: 'left',

    Avoid too many return statements within this function.
    Open

                return {
                  ...baseCellProps,
                  type: CellType.Image,
                  data,
                  displayData,
    Severity: Major
    Found in packages/sdk/src/components/grid-enhancements/hooks/use-grid-columns.tsx - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return CellValueType.String;
      Severity: Major
      Found in packages/core/src/formula/visitor.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return filter;

          Avoid too many return statements within this function.
          Open

              return new TypedValue(field.cellValue2String(typedValue.value), CellValueType.String);
          Severity: Major
          Found in packages/core/src/formula/visitor.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return this.originQueryBuilder.select(column).groupBy(groupByColumn);
            Severity: Major
            Found in apps/nestjs-backend/src/db-provider/group-query/group-query.postgres.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                return JSON.stringify(value);
              Severity: Major
              Found in apps/nestjs-backend/src/utils/value-convert.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

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

                  Avoid too many return statements within this function.
                  Open

                        return this.defaultTzFormat(value);
                  Severity: Major
                  Found in packages/core/src/models/field/derivate/date.field.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return typedValue;
                    Severity: Major
                    Found in packages/core/src/formula/visitor.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return this.originQueryBuilder.select(dbFieldName).groupBy(groupByColumn);
                      Severity: Major
                      Found in apps/nestjs-backend/src/db-provider/group-query/group-query.sqlite.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return session;
                        Severity: Major
                        Found in apps/nestjs-backend/src/features/auth/session/session-store.service.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return typedValue;
                          Severity: Major
                          Found in packages/core/src/formula/visitor.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  return formatValue.toISOString();
                            Severity: Major
                            Found in packages/core/src/models/field/derivate/date.field.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return this.originQueryBuilder.select(column).groupBy(dbFieldName);
                              Severity: Major
                              Found in apps/nestjs-backend/src/db-provider/group-query/group-query.postgres.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return this.string(field);
                                Severity: Major
                                Found in apps/nestjs-backend/src/db-provider/group-query/group-query.abstract.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return this.basalConvert(tableId, newField, oldField);

                                    Avoid too many return statements within this function.
                                    Open

                                        return { type: CellValueType.String };
                                    Severity: Major
                                    Found in packages/core/src/formula/functions/logical.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return this.originQueryBuilder.select(column).groupBy(dbFieldName);
                                      Severity: Major
                                      Found in apps/nestjs-backend/src/db-provider/group-query/group-query.sqlite.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return dependencies[0].fields[fieldId] ?? null;
                                        Severity: Major
                                        Found in apps/nestjs-backend/src/features/calculation/reference.service.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language