graycoreio/daffodil

View on GitHub
libs/category/driver/magento/src/category-driver.module.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function forRoot has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  static forRoot(config: DaffCategoryMagentoDriverConfig = MAGENTO_CATEGORY_CONFIG_DEFAULT): ModuleWithProviders<DaffCategoryMagentoDriverModule> {
    return {
      ngModule: DaffCategoryMagentoDriverModule,
      providers: [
        {
Severity: Minor
Found in libs/category/driver/magento/src/category-driver.module.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status