gitlabhq/gitlabhq

View on GitHub

Showing 1,405 of 2,015 total issues

Avoid too many return statements within this function.
Open

              return saveLabelData();
Severity: Major
Found in app/assets/javascripts/labels_select.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      return 0;
    Severity: Major
    Found in app/assets/javascripts/ide/stores/utils.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return stateKey.workInProgress;
      Severity: Major
      Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return stateKey.pipelineFailed;
        Severity: Major
        Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return stateKey.unresolvedDiscussions;
          Severity: Major
          Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

              return null;
            Severity: Major
            Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return stateKey.pipelineBlocked;
              Severity: Major
              Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                          return;
                Severity: Major
                Found in app/assets/javascripts/notes.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return $dropdown.closest('form').submit();
                  Severity: Major
                  Found in app/assets/javascripts/milestone_select.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                  return;
                    Severity: Major
                    Found in app/assets/javascripts/notes.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return this.mergeError ? stateKey.autoMergeFailed : stateKey.autoMergeEnabled;
                      Severity: Major
                      Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return stateKey.conflicts;
                        Severity: Major
                        Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return stateKey.notAllowedToMerge;
                          Severity: Major
                          Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                      return this.removeNoteEditForm(editNote);
                            Severity: Major
                            Found in app/assets/javascripts/notes.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return axios
                                            .put(issueUpdateURL, data)
                                            .then(({ data }) => {
                                              $dropdown.trigger('loaded.gl.dropdown');
                                              $loading.fadeOut();
                              Severity: Major
                              Found in app/assets/javascripts/milestone_select.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return stateKey.rebase;
                                Severity: Major
                                Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                      return stateKey.shaMismatch;
                                  Severity: Major
                                  Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return stateKey.readyToMerge;
                                    Severity: Major
                                    Found in app/assets/javascripts/vue_merge_request_widget/stores/get_state_key.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return this.setUnavailableState();
                                      Severity: Major
                                      Found in app/assets/javascripts/pages/sessions/new/username_validator.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return true;
                                        Severity: Major
                                        Found in app/assets/javascripts/create_merge_request_dropdown.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language