department-of-veterans-affairs/vets-website

View on GitHub

Showing 4,177 of 14,709 total issues

Avoid too many return statements within this function.
Open

    return 'It may take us a few days to process your intent to file for disability compensation. Then you’ll have 1 year to file your claim.';
Severity: Major
Found in src/applications/simple-forms/21-0966/config/helpers.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      return value;
    Severity: Major
    Found in src/applications/disability-benefits/686c-674-v2/config/utilities.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                return {
                  chapterKey: 'disabilities',
                  pageKey: `herbicide-location-other`,
                };
      Severity: Major
      Found in src/applications/disability-benefits/all-claims/reviewErrors.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return 'It may take us a few days to process your intent to file for pension claims for survivors. Then you’ll have 1 year to file your claim.';
        Severity: Major
        Found in src/applications/simple-forms/21-0966/config/helpers.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

            return 'It may take us a few days to process your intent to file. Then you’ll have 1 year to file your claim.';
          Severity: Major
          Found in src/applications/simple-forms/21-0966/config/helpers.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return true;
            Severity: Major
            Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                return false;
              Severity: Major
              Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return true;
                Severity: Major
                Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return true;
                  Severity: Major
                  Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return true;
                    Severity: Major
                    Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return true;
                      Severity: Major
                      Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                          return showFSR ? (
                            <RoutedSavableApp formConfig={formConfig} currentLocation={location}>
                              <MetaTags>
                                {/* TODO: used to prevent staging form being indexed remove once merged to prod */}
                                <meta name="robots" content="noindex" />
                        Severity: Major
                        Found in src/applications/financial-status-report/containers/App.jsx - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return true;
                          Severity: Major
                          Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return true;
                            Severity: Major
                            Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                return false;
                              Severity: Major
                              Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return true;
                                Severity: Major
                                Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return true;
                                  Severity: Major
                                  Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return true;
                                    Severity: Major
                                    Found in src/applications/ask-va/config/helpers.jsx - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                        return content;
                                      Severity: Major
                                      Found in src/applications/vre/28-1900/containers/FormApp.jsx - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                          return 'err-submission'; // Default error type if no matching conditions
                                        Severity: Major
                                        Found in src/applications/financial-status-report/config/submitForm.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language