pankod/refine

View on GitHub

Showing 580 of 800 total issues

Avoid too many return statements within this function.
Open

    return `^${versionWanted}`;
Severity: Major
Found in packages/cli/src/commands/check-updates/index.tsx - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      return null;
    Severity: Major
    Found in packages/core/src/components/authenticated/index.tsx - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return ["useLogout"];
      Severity: Major
      Found in packages/core/src/definitions/helpers/keys/index.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return ["useRegister"];
        Severity: Major
        Found in packages/core/src/definitions/helpers/keys/index.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

            return versionWanted;
          Severity: Major
          Found in packages/cli/src/commands/check-updates/index.tsx - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return <RedirectLegacy to={`${appliedRedirect}${toQuery}`} />;
            Severity: Major
            Found in packages/core/src/components/authenticated/index.tsx - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return ["usePermissions"];
              Severity: Major
              Found in packages/core/src/definitions/helpers/keys/index.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return { like: `%${value}` };
                Severity: Major
                Found in packages/nestjs-query/src/utils/index.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return { isNot: null };
                  Severity: Major
                  Found in packages/nestjs-query/src/utils/index.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return { between: { lower: value[0], upper: value[1] } };
                    Severity: Major
                    Found in packages/nestjs-query/src/utils/index.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return ["useLogin"];
                      Severity: Major
                      Found in packages/core/src/definitions/helpers/keys/index.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              return ["useAuthenticated", segments[2]]; // [auth, check, params]
                        Severity: Major
                        Found in packages/core/src/definitions/helpers/keys/index.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return { notLike: `${value}%` };
                          Severity: Major
                          Found in packages/nestjs-query/src/utils/index.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return { notLike: `%${value}` };
                            Severity: Major
                            Found in packages/nestjs-query/src/utils/index.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return {};
                              Severity: Major
                              Found in packages/nestjs-query/src/utils/index.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return;
                                Severity: Major
                                Found in packages/core/src/hooks/redirection/index.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return ["useCheckError"];
                                  Severity: Major
                                  Found in packages/core/src/definitions/helpers/keys/index.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return ["useUpdatePassword"];
                                    Severity: Major
                                    Found in packages/core/src/definitions/helpers/keys/index.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return ["", SWIZZLE_CODES.UNKNOWN_ERROR] as [
                                                targetPath: string,
                                                statusCode: string,
                                              ];
                                      Severity: Major
                                      Found in packages/cli/src/commands/swizzle/index.tsx - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return { notILike: `${value}%` };
                                        Severity: Major
                                        Found in packages/nestjs-query/src/utils/index.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language