teamdigitale/italia-app

View on GitHub

Showing 4,862 of 4,862 total issues

Avoid too many return statements within this function.
Open

    return <GetSessionEndpointTransientError />;
Severity: Major
Found in ts/screens/modal/RootModal.tsx - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      return "none";
    Severity: Major
    Found in ts/screens/profile/analytics/index.ts - About 30 mins to fix

      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;
        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 { ...state };
          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/messages/store/reducers/allPaginated.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return {
                        ...state,
                        processingResult: action.payload,
                        status: "enabled"
                      };
              Severity: Major
              Found in ts/features/messages/store/reducers/archiving.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return state;
                Severity: Major
                Found in ts/features/messages/store/reducers/archiving.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;
                    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,
                              inbox: {
                                ...state.inbox,
                                data: pot.toError(state.inbox.data, {
                      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: {
                                    ...state.archive,
                                    data: pot.toError(state.archive.data, {
                        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;
                          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/wallet/store/reducers/index.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return {
                                      ...state,
                                      inbox: {
                                        ...state.inbox,
                                        data: pot.toError(state.inbox.data, {
                              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,
                                        fromArchiveToInbox: duplicateSetAndRemove(
                                          state.fromArchiveToInbox,
                                          action.payload.messageId
                                Severity: Major
                                Found in ts/features/messages/store/reducers/archiving.ts - 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 "unpaid";
                                    Severity: Major
                                    Found in ts/features/messages/saga/handlePaymentStatusForAnalyticsTracking.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return {
                                                    ...state,
                                                    archive: remove(message, state.archive),
                                                    inbox: insert(message, state.inbox),
                                                    latestMessageOperation: E.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 state;
                                        Severity: Major
                                        Found in ts/features/idpay/configuration/store/index.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language