src/period/generators/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createPeriodGeneratorsForLocale has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createPeriodGeneratorsForLocale(locale = 'en') {
    return {
        generateDailyPeriodsForYear: (year) =>
            generateDailyPeriodsForYear(year, locale),
        generateWeeklyPeriodsForYear: (year) =>
Severity: Minor
Found in src/period/generators/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status