busy-web/ember-date-time

View on GitHub

Showing 94 of 144 total issues

Avoid too many return statements within this function.
Open

        return /ss?/;
Severity: Major
Found in addon/utils/time.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return classify(start.format('MMMM'));
    Severity: Major
    Found in addon/components/ember-date-range-picker.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return MINUTE_FLAG;
      Severity: Major
      Found in addon/utils/time.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return `${start.format('MMM D')}`;
        Severity: Major
        Found in addon/components/ember-date-range-picker.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return `${start.format('MMM D')} - ${end.format('MMM D')}`;
          Severity: Major
          Found in addon/components/ember-date-range-picker.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                                return this.handleDeleteKey(event, handler);
            Severity: Major
            Found in addon/components/private/date-input.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                              return i18n('this_day');
              Severity: Major
              Found in addon/components/ember-date-range-picker.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return false;
                Severity: Major
                Found in addon/components/private/date-input.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                  return i18n('next_day');
                  Severity: Major
                  Found in addon/components/ember-date-range-picker.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                    return start.format('dddd');
                    Severity: Major
                    Found in addon/components/ember-date-range-picker.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return /hh?/;
                      Severity: Major
                      Found in addon/utils/time.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return `${start.format('ll')} - ${end.format('ll')}`;
                        Severity: Major
                        Found in addon/components/ember-date-range-picker.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return /mm?/;
                          Severity: Major
                          Found in addon/utils/time.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return 'seconds';
                            Severity: Major
                            Found in addon/utils/time.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return 'm-hours';
                              Severity: Major
                              Found in addon/utils/time.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return /HH?/;
                                Severity: Major
                                Found in addon/utils/time.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                                  return `${start.format('MMM D')} - ${end.format('MMM D YYYY')}`;
                                  Severity: Major
                                  Found in addon/components/ember-date-range-picker.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return null;
                                    Severity: Major
                                    Found in addon/utils/time.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                      return i18n('last_day');
                                      Severity: Major
                                      Found in addon/components/ember-date-range-picker.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return i18n('next_week');
                                        Severity: Major
                                        Found in addon/components/ember-date-range-picker.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language