graycoreio/daffodil

View on GitHub
libs/geography/state/src/selectors/country-entities.selector.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

const createCountryEntitySelectors = <T extends DaffCountry = DaffCountry>() => {
  const { selectGeographyFeatureState } = getDaffGeographyFeatureStateSelector<T>();
  const selectCountryEntitiesState = createSelector(
    selectGeographyFeatureState,
    state => state.countries,
Severity: Minor
Found in libs/geography/state/src/selectors/country-entities.selector.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status