src/applications/edu-benefits/pages/additionalBenefits.js
Function additionalBenefits
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
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;