Skip to content
SprecherEast
Issue 618

Remove type and lint suppressions and add a PageHero test

Back to our plan
Done
frontendtech-debtpriority: low

In plain words: a few old suppressions and one untested shared component were left behind.

Details: eslint-disable exhaustive-deps in ConfirmEmail.client.tsx:68 (rewrite the effect); as any in scripts/seed.ts:162 (type with RequiredDataFromCollectionSlug); PageHero has no component test or axe check; emailLayout.ts keeps a second copy of the brand hex colours (add a test that they equal the light theme tokens).

Acceptance criteria

  • No eslint-disable or as any left in those files
  • PageHero has a test with axe; the email colours are checked against the theme

Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab