department-of-veterans-affairs/vets-website

View on GitHub
src/applications/simple-forms-form-engine/shared/utils/formConfig.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createFormConfig has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const createFormConfig = (form, options) => {
  const { chapters, formId, ombInfo, title } = form;
  const { rootUrl, trackingPrefix } = options;
  const subTitle = `VA Form ${formId}`;

    There are no issues that match your filters.

    Category
    Status