teamdigitale/italia-app

View on GitHub

Showing 4,378 of 4,378 total issues

Avoid too many return statements within this function.
Open

      return;
Severity: Major
Found in ts/screens/authentication/analytics/spidAnalytics.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return true;
    Severity: Major
    Found in ts/components/cie/CieRequestAuthenticationOverlay.tsx - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return {
              ...state,
              initiativesWithInstrument: pot.some(action.payload),
              initiativesAwaitingStatusUpdate: initiativesToKeepInLoadingState
            };
      Severity: Major
      Found in ts/features/idpay/wallet/store/reducers/index.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return formatDateAsLocal(date, true);
        Severity: Major
        Found in ts/features/messages/utils/convertDateToWordDistance.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return {
                    ...state,
                    archive: {
                      data: pot.toError(state.archive.data, action.payload.error.message),
                      lastRequest: state.archive.lastRequest
          Severity: Major
          Found in ts/features/messages/store/reducers/allPaginated.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return {
                    ...state,
                    instrumentStatus: {
                      ...state.instrumentStatus,
                      [instrumentId]: pot.toError(
            Severity: Major
            Found in ts/features/idpay/configuration/store/index.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return;
              Severity: Major
              Found in ts/features/messages/saga/handleLoadMessageData.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                  return state;
                Severity: Major
                Found in ts/features/idpay/configuration/store/index.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return {
                          ...state,
                          inbox: {
                            data: pot.toError(state.inbox.data, action.payload.error.message),
                            lastRequest: state.inbox.lastRequest
                  Severity: Major
                  Found in ts/features/messages/store/reducers/allPaginated.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                      return state;
                    Severity: Major
                    Found in ts/features/idpay/code/store/reducers/index.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                        return state;
                      Severity: Major
                      Found in ts/features/idpay/wallet/store/reducers/index.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              return {
                                instruments: pipe(
                                  pot.getOrElse(state.instruments, null),
                                  O.fromNullable,
                                  O.map(el => el.instrumentList),
                        Severity: Major
                        Found in ts/features/idpay/configuration/store/index.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return {
                                    ...state,
                                    featuredServices: pot.noneLoading
                                  };
                          Severity: Major
                          Found in ts/features/services/home/store/reducers/index.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  return {
                                    ...state,
                                    featuredServices: pot.toUpdating(state.featuredServices, {
                                      services: []
                                    })
                            Severity: Major
                            Found in ts/features/services/home/store/reducers/index.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return;
                              Severity: Major
                              Found in ts/features/services/details/saga/handleUpsertServicePreference.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 {
                                          ...state,
                                          inbox: {
                                            data: pot.toError(state.inbox.data, action.payload.error.message),
                                            lastRequest: state.inbox.lastRequest
                                  Severity: Major
                                  Found in ts/features/messages/store/reducers/allPaginated.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return {
                                            ...state,
                                            inbox: {
                                              data: pot.toError(state.inbox.data, action.payload.error.message),
                                              lastRequest: state.inbox.lastRequest
                                    Severity: Major
                                    Found in ts/features/messages/store/reducers/allPaginated.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return {
                                                    ...state,
                                                    archive: insert(message, state.archive),
                                                    inbox: remove(message, state.inbox),
                                                    latestMessageOperation: Either.left({
                                      Severity: Major
                                      Found in ts/features/messages/store/reducers/allPaginated.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return yield* put(addBpayToWalletAction.failure(getNetworkError(e)));
                                        Severity: Major
                                        Found in ts/features/wallet/onboarding/bancomatPay/saga/networking/index.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language