department-of-veterans-affairs/vets-website

View on GitHub

Showing 4,177 of 14,709 total issues

Function validateCurrentOrPastDate has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

  errors,
  dateString,
  formData,
  schema,
  errorMessages = {},
Severity: Minor
Found in src/platform/forms-system/src/js/validation.js - About 35 mins to fix

    Function validateCurrentOrFutureDate has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      errors,
      dateString,
      formData,
      schema,
      errorMessages = {},
    Severity: Minor
    Found in src/platform/forms-system/src/js/validation.js - About 35 mins to fix

      Function validateCurrentOrPastMonthYear has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        errors,
        dateString,
        formData,
        schema,
        errorMessages = {},
      Severity: Minor
      Found in src/platform/forms-system/src/js/validation.js - About 35 mins to fix

        Function validateRoutingNumber has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          errors,
          routingNumber,
          formData,
          schema,
          errorMessages,
        Severity: Minor
        Found in src/platform/forms-system/src/js/validation.js - About 35 mins to fix

          Function createTransaction has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

            route,
            method,
            fieldName,
            payload,
            analyticsSectionName,
          Severity: Minor
          Found in src/platform/user/profile/vap-svc/actions/transactions.js - About 35 mins to fix

            Function updateSchemaFromUiSchema has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              schema,
              uiSchema,
              formData,
              index = null,
              path = [],
            Severity: Minor
            Found in src/platform/forms-system/src/js/state/helpers.js - About 35 mins to fix

              Function additionalConsiderationsQuestionTitle has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                order,
                rudisillFlag,
                meb160630Automation,
                chosenBenefit,
                pageName,

                Function additionalConsiderationsQuestionTitleText has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                  order,
                  rudisillFlag,
                  meb160630Automation,
                  chosenBenefit, // Include chosenBenefit here
                  pageName,

                  Function validateRoutingNumber has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    errors,
                    routingNumber,
                    formData,
                    schema,
                    errorMessages,
                  Severity: Minor
                  Found in src/applications/edu-benefits/10203/pages/DirectDeposit.jsx - About 35 mins to fix

                    Function uiSchema has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                      label = 'Address',
                      useStreet2 = true,
                      useStreet3 = false,
                      isRequired = null,
                      ignoreRequired = false,

                      Function validateRoutingNumber has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        errors,
                        routingNumber,
                        formData,
                        schema,
                        errorMessages,
                      Severity: Minor
                      Found in src/applications/edu-benefits/5490/content/directDepositUpdate.jsx - About 35 mins to fix

                        Function validateRoutingNumber has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                          errors,
                          routingNumber,
                          formData,
                          schema,
                          errorMessages,
                        Severity: Minor
                        Found in src/applications/edu-benefits/pages/directDepositChangeUpdate.js - About 35 mins to fix

                          Function validateRoutingNumber has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                            errors,
                            routingNumber,
                            formData,
                            schema,
                            errorMessages,
                          Severity: Minor
                          Found in src/applications/edu-benefits/1990/pages/DirectDeposit.jsx - About 35 mins to fix

                            Function validateRoutingNumber has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                              errors,
                              routingNumber,
                              formData,
                              schema,
                              errorMessages,
                            Severity: Minor
                            Found in src/applications/edu-benefits/5490/content/directDeposit.jsx - About 35 mins to fix

                              Function validateRoutingNumber has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                errors,
                                routingNumber,
                                formData,
                                schema,
                                errorMessages,
                              Severity: Minor
                              Found in src/applications/edu-benefits/0994/pages/bankInformation.js - About 35 mins to fix

                                Function populateFirstApplicant has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                export function populateFirstApplicant(formData, name, email, phone, address) {
                                Severity: Minor
                                Found in src/applications/ivc-champva/10-10D/helpers/utilities.js - About 35 mins to fix

                                  Function validateBooleanGroup has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                    errors,
                                    userGroup,
                                    form,
                                    schema,
                                    errorMessages = {},
                                  Severity: Minor
                                  Found in src/applications/disability-benefits/all-claims/validations.js - About 35 mins to fix

                                    Function validateSelections has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                      errors,
                                      formData,
                                      objectName,
                                      otherObjectName,
                                      selectionTypes = 'locations',

                                      Function generateICS has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                        summary,
                                        description,
                                        location,
                                        startDateTime,
                                        endDateTime,
                                      Severity: Minor
                                      Found in src/applications/vaos/utils/calendar.js - About 35 mins to fix

                                        Function routeToPageInFlow has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        export function routeToPageInFlow(callback, history, current, action, data) {
                                        Severity: Minor
                                        Found in src/applications/vaos/new-appointment/redux/actions.js - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language