valor-software/angular2-bootstrap

View on GitHub

Showing 272 of 791 total issues

Avoid too many return statements within this function.
Open

          return ii;
Severity: Major
Found in src/chronos/locale/locale.class.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return Object.assign({}, state, {
            minDate: action.payload
          });
    Severity: Major
    Found in src/datepicker/reducer/bs-datepicker.reducer.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return Object.assign({}, state, {
              maxDate: action.payload
            });
      Severity: Major
      Found in src/datepicker/reducer/bs-datepicker.reducer.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                  return ii;
        Severity: Major
        Found in src/chronos/locale/locale.class.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return ii !== -1 ? ii : null;
          Severity: Major
          Found in src/chronos/locale/locale.class.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                    return state;
            Severity: Major
            Found in src/datepicker/reducer/bs-datepicker.reducer.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return Object.assign({}, state, {
                      isDisabled: action.payload
                    });
              Severity: Major
              Found in src/datepicker/reducer/bs-datepicker.reducer.ts - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                          return ii;
                Severity: Major
                Found in src/chronos/locale/locale.class.ts - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return {
                          year: parseIso(match[2], sign),
                          month: parseIso(match[3], sign),
                          week: parseIso(match[4], sign),
                          day: parseIso(match[5], sign),
                  Severity: Major
                  Found in src/chronos/duration/create.ts - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return result + 'hodinami';
                    Severity: Major
                    Found in src/chronos/i18n/cs.ts - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return {
                            milliseconds: diffRes.milliseconds,
                            month: diffRes.months
                          };
                      Severity: Major
                      Found in src/chronos/duration/create.ts - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                          return input;
                        Severity: Major
                        Found in src/chronos/duration/create.ts - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                return result;
                          Severity: Major
                          Found in src/chronos/i18n/sl.ts - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  return 'בערב';
                            Severity: Major
                            Found in src/chronos/i18n/he.ts - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return result + (plural(num) ? 'hodiny' : 'hodin');
                              Severity: Major
                              Found in src/chronos/i18n/cs.ts - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                  return createInvalid(config);
                                Severity: Major
                                Found in src/chronos/create/from-string.ts - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                    return configFromStringAndFormat(config);
                                  Severity: Major
                                  Found in src/chronos/create/from-string.ts - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return result + 'dny';
                                    Severity: Major
                                    Found in src/chronos/i18n/cs.ts - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return result + (plural(num) ? 'roky' : 'let');
                                      Severity: Major
                                      Found in src/chronos/i18n/cs.ts - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                              return '下午';
                                        Severity: Major
                                        Found in src/chronos/i18n/zh-cn.ts - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language