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 <Down {...this.props} appType={appType} headerLevel={2} />;

    Avoid too many return statements within this function.
    Open

              return;
    Severity: Major
    Found in src/platform/site-wide/user-nav/components/SearchDropdownComponent.js - 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;

          Avoid too many return statements within this function.
          Open

                  return;

            Avoid too many return statements within this function.
            Open

                  return;

              Avoid too many return statements within this function.
              Open

                      return;
              Severity: Major
              Found in src/platform/site-wide/user-nav/components/SearchDropdownComponent.js - 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;
                  Severity: Major
                  Found in src/platform/site-wide/user-nav/components/SearchDropdownComponent.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return;
                    Severity: Major
                    Found in src/platform/site-wide/user-nav/components/SearchDropdownComponent.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return;
                      Severity: Major
                      Found in src/platform/site-wide/user-nav/components/SearchDropdownComponent.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return children;

                          Avoid too many return statements within this function.
                          Open

                                return;

                            Avoid too many return statements within this function.
                            Open

                                    return a.attributes.recipientName.localeCompare(
                                      b.attributes.recipientName,
                                    );
                            Severity: Major
                            Found in src/platform/mhv/api/mocks/secure-messaging/threads/index.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return null;
                              Severity: Major
                              Found in src/platform/forms/save-in-progress/ApplicationStatus.jsx - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return 0;
                                Severity: Major
                                Found in src/platform/mhv/api/mocks/secure-messaging/threads/index.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                    return 'a moment';
                                  Severity: Major
                                  Found in src/platform/utilities/date/index.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return a.attributes.senderName.localeCompare(b.attributes.senderName);
                                    Severity: Major
                                    Found in src/platform/mhv/api/mocks/secure-messaging/threads/index.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return (
                                              <div
                                                itemProp="steps"
                                                itemScope
                                                itemType="http://schema.org/HowToSection"
                                      Severity: Major
                                      Found in src/platform/forms/save-in-progress/ApplicationStatus.jsx - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return b.attributes.senderName.localeCompare(a.attributes.senderName);
                                        Severity: Major
                                        Found in src/platform/mhv/api/mocks/secure-messaging/threads/index.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language