A11yWatch/a11ywatch-core

View on GitHub
src/web/params/web.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

export const getWebParams = (req: FastifyContext["request"]) => {
  const url = paramParser(req, "url");
  const customHeaders = paramParser(req, "customHeaders");
  const mobile = paramParser(req, "mobile");
  const pageInsights = paramParser(req, "pageInsights");
Severity: Minor
Found in src/web/params/web.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status