piobyte/flamingo

View on GitHub
packages/flamingo/src/routes/index.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function banner has 95 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function banner(route: Route, operation: FlamingoOperation) {
  let html = `
    <!doctype html><html lang=""><head><link rel="icon" href="${BASE64_ICON}">
    <title>${pkg.name}@${pkg.version}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
Severity: Major
Found in packages/flamingo/src/routes/index.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status