src/applications/simple-forms-form-engine/shared/utils/formConfig.js
Function createFormConfig
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const createFormConfig = (form, options) => {
const { chapters, formId, ombInfo, title } = form;
const { rootUrl, trackingPrefix } = options;
const subTitle = `VA Form ${formId}`;