Kinvey/js-sdk

View on GitHub

Showing 146 of 349 total issues

Avoid too many return statements within this function.
Open

        return await this.setAuthorization(KinveyHttpAuth.App);
Severity: Major
Found in packages/js-sdk/src/http/headers.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

              return new FeatureUnavailableError(message, debug);
    Severity: Major
    Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                return new MissingQueryError(message, debug);
      Severity: Major
      Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return await this.setAuthorization(KinveyHttpAuth.Session);
        Severity: Major
        Found in packages/js-sdk/src/http/headers.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                        return 0;
          Severity: Major
          Found in packages/js-sdk/src/query.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                      return new InvalidIdentifierError(message, debug);
            Severity: Major
            Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                        return new MissingConfigurationError(message, debug);
              Severity: Major
              Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                          return new ServerError(message, debug);
                Severity: Major
                Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                            return new DuplicateEndUsersError(message, debug);
                  Severity: Major
                  Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return new KinveyError(message, debug);
                    Severity: Major
                    Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                return await this.setAuthorization(KinveyHttpAuth.MFASessionToken);
                      Severity: Major
                      Found in packages/js-sdk/src/http/headers.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                  return new MissingRequestHeaderError(message, debug);
                        Severity: Major
                        Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                    return new WritesToCollectionDisallowedError(message, debug);
                          Severity: Major
                          Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                      return new BadRequestError(message, debug);
                            Severity: Major
                            Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                        return new ResultSetSizeExceededError(message, debug);
                              Severity: Major
                              Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                  return 0;
                                Severity: Major
                                Found in packages/js-sdk/src/query.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                    return (aField < bField ? -1 : 1) * modifier;
                                  Severity: Major
                                  Found in packages/js-sdk/src/query.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                              return new IncompleteRequestBodyError(message, debug);
                                    Severity: Major
                                    Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                return new KinveyInternalErrorRetry(message, debug);
                                      Severity: Major
                                      Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                  return new MissingRequestParameterError(message, debug);
                                        Severity: Major
                                        Found in packages/js-sdk/src/http/response.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language