graycoreio/daffodil

View on GitHub
libs/cart-store-credit/state/src/reducers/cart.reducer.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function daffCartStoreCreditCartReducer has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function daffCartStoreCreditCartReducer<T extends DaffCartWithStoreCredit = DaffCartWithStoreCredit>(
  state = daffCartReducerInitialState,
  action: DaffCartStoreCreditActions,
): DaffCartReducerState<T> {
  switch (action.type) {
Severity: Minor
Found in libs/cart-store-credit/state/src/reducers/cart.reducer.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status