Showing 22 of 41 total issues
Avoid too many return
statements within this function. Open
Open
else if (periodicity === 'year') return TimeSlot.fromValue(utcDate.getUTCFullYear().toString());
Avoid too many return
statements within this function. Open
Open
return TimeSlot.fromValue(
utcDate.getUTCFullYear().toString() +
'-Q' +
(1 + Math.floor(utcDate.getUTCMonth() / 3)).toString()
);