18F/web-design-standards

View on GitHub
packages/usa-footer/src/index.js

Summary

Maintainability
A
1 hr
Test Coverage

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

function toggleHtmlTag(isMobile) {
  const bigFooter = document.querySelector(SCOPE);

  if (!bigFooter) {
    return;
Severity: Minor
Found in packages/usa-footer/src/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status