romain-gilliotte/timeslot-dag

View on GitHub

Showing 22 of 41 total issues

Avoid too many return statements within this function.
Open

      return TimeSlot.fromValue(
        utcDate.getUTCFullYear().toString() +
          '-S' +
          (1 + Math.floor(utcDate.getUTCMonth() / 6)).toString()
      );
Severity: Major
Found in src/timeslot.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        else if (periodicity === 'all') return TimeSlot.fromValue('all');
    Severity: Major
    Found in src/timeslot.js - About 30 mins to fix
      Severity
      Category
      Status
      Source
      Language