graycoreio/daffodil

View on GitHub
libs/cart/state/src/facades/cart/cart.facade.ts

Summary

Maintainability
C
7 hrs
Test Coverage

Function constructor has 138 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  constructor(
    private store: Store<DaffCartStateRootSlice<T, V>>,
    // typing this as `Record<string, any>` or `object` fails the build
    // because Angular explicitly types this as `Object`
    // eslint-disable-next-line @typescript-eslint/ban-types
Severity: Major
Found in libs/cart/state/src/facades/cart/cart.facade.ts - About 5 hrs to fix

    File cart.facade.ts has 266 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import {
      Inject,
      Injectable,
    } from '@angular/core';
    import { Dictionary } from '@ngrx/entity';
    Severity: Minor
    Found in libs/cart/state/src/facades/cart/cart.facade.ts - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status