department-of-veterans-affairs/vets-website

View on GitHub
src/applications/appeals/10182/config/submit-transformer.js

Summary

Maintainability
A
1 hr
Test Coverage

Function transform has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function transform(formConfig, form) {
  // https://dev-developer.va.gov/explore/appeals/docs/decision_reviews?version=current
  // https://github.com/department-of-veterans-affairs/vets-api/blob/master/modules/appeals_api/config/schemas/10182.json
  const mainTransform = formData => {
    const result = {
Severity: Minor
Found in src/applications/appeals/10182/config/submit-transformer.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status