romain-gilliotte/timeslot-dag

View on GitHub

Showing 41 of 41 total issues

Avoid too many return statements within this function.
Open

      return TimeSlot.fromValue(
        utcDate.getUTCFullYear().toString() +
          '-Q' +
          (1 + Math.floor(utcDate.getUTCMonth() / 3)).toString()
      );
Severity: Major
Found in src/timeslot.js - About 30 mins to fix
    Severity
    Category
    Status
    Source
    Language