department-of-veterans-affairs/vets-website

View on GitHub
src/platform/site-wide/side-nav/helpers.js

Summary

Maintainability
A
1 hr
Test Coverage

Function deriveNavItemsLookup has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const deriveNavItemsLookup = options => {
  // Derive the properties from options.
  const rootPath = get(options, 'rootPath');
  const depth = get(options, 'depth', 0);
  const items = get(options, 'items', []);
Severity: Minor
Found in src/platform/site-wide/side-nav/helpers.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status