department-of-veterans-affairs/vets-website

View on GitHub
src/platform/site-wide/legacy-component-js/additional-info.js

Summary

Maintainability
A
1 hr
Test Coverage

Function createAdditionalInfoWidget has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function createAdditionalInfoWidget() {
  const widgets = qSA(document, '.additional-info-container');

  if (widgets.length) {
    widgets.forEach((el, index) => {
Severity: Minor
Found in src/platform/site-wide/legacy-component-js/additional-info.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status