department-of-veterans-affairs/vets-website

View on GitHub
src/applications/edu-benefits/pages/additionalBenefits.js

Summary

Maintainability
A
1 hr
Test Coverage

Function additionalBenefits has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function additionalBenefits(schema, options) {
  // Use the defaults as necessary, but override with the options given
  const mergedOptions = { ...defaults, ...options };
  const { fields, required } = mergedOptions;

Severity: Minor
Found in src/applications/edu-benefits/pages/additionalBenefits.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status