src/period/generators/index.js
Function createPeriodGeneratorsForLocale
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function createPeriodGeneratorsForLocale(locale = 'en') {
return {
generateDailyPeriodsForYear: (year) =>
generateDailyPeriodsForYear(year, locale),
generateWeeklyPeriodsForYear: (year) =>