frontend/farm_events/calendar/selectors.ts
Function joinFarmEventsToExecutable
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function joinFarmEventsToExecutable(
input: ResourceIndex): FarmEventWithExecutable[] {
const farmEvents: TaggedFarmEvent[] = selectAllFarmEvents(input);
const sequenceById = indexSequenceById(input);
const regimenById = indexRegimenById(input);