gitlabhq/gitlabhq

View on GitHub

Showing 2,950 of 2,950 total issues

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 scaledSIFormatter('B');
    Severity: Major
    Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return scaledSIFormatter('B', 3);
      Severity: Major
      Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return scaledBinaryFormatter('B');
        Severity: Major
        Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return scaledBinaryFormatter('B', 2);
          Severity: Major
          Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

              return DATETIME_RANGE_TYPES.invalid;
            Severity: Major
            Found in app/assets/javascripts/lib/utils/datetime_range.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 scaledSIFormatter('B', 2);
                Severity: Major
                Found in app/assets/javascripts/lib/utils/unit_format/index.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');
                                  // eslint-disable-next-line no-jquery/no-fade
                  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.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.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 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 scaledBinaryFormatter('B', 1);
                          Severity: Major
                          Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return scaledBinaryFormatter('B', 5);
                            Severity: Major
                            Found in app/assets/javascripts/lib/utils/unit_format/index.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.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 scaledBinaryFormatter('B', 4);
                                  Severity: Major
                                  Found in app/assets/javascripts/lib/utils/unit_format/index.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 suffixFormatter(s__('Units|ms'));
                                      Severity: Major
                                      Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return scaledSIFormatter('B', 4);
                                        Severity: Major
                                        Found in app/assets/javascripts/lib/utils/unit_format/index.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language