You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A handful of pages have unused imports / declarations / destructured names producing ts(6133), ts(6196), or ts(6198) warnings. Mechanical cleanup, no behavior change.
astro check warnings (pages)
src/pages/donate.astro:5:33 - warning ts(6133): 'CollectionEntry' is declared but its value is never read.
src/pages/donate.astro:7:1 - warning ts(6133): 'Branding' is declared but its value is never read.
src/pages/donate.astro:19:1 - warning ts(6133): 'rachael' is declared but its value is never read.
src/pages/donate.astro:22:1 - warning ts(6133): 'Image' is declared but its value is never read.
src/pages/donate.astro:74:7 - warning ts(6133): 'statesRegistered' is declared but its value is never read.
src/pages/donate.astro:75:7 - warning ts(6133): 'statesAccepting' is declared but its value is never read.
src/pages/donate.astro:176:53 - warning ts(6133): 'theme' is declared but its value is never read.
src/pages/about/mission.astro:10:1 - warning ts(6133): 'ThemedBox' is declared but its value is never read.
src/pages/about/story.astro:6:1 - warning ts(6133): 'ThemedBox' is declared but its value is never read.
src/pages/blog/rss.xml.ts:11:10 - warning ts(6133): 'components' is declared but its value is never read.
src/pages/tips/rss.xml.ts:12:10 - warning ts(6133): 'components' is declared but its value is never read.
src/pages/escape-room/themes/[id].astro:46:7 - warning ts(6133): 'themeVar' is declared but its value is never read.
src/pages/globa11y/index.astro:3:15 - warning ts(6196): 'Breadcrumbs' is declared but never used.
src/pages/join-us/index.astro:3:1 - warning ts(6133): 'ExternalLink' is declared but its value is never read.
src/pages/join-us/index.astro:13:15 - warning ts(6196): 'Breadcrumbs' is declared but never used.
src/pages/mutua11y/_index.astro:3:15 - warning ts(6196): 'Breadcrumbs' is declared but never used.
src/pages/mutua11y/index.astro:2:15 - warning ts(6196): 'Breadcrumbs' is declared but never used.
src/pages/mutua11y/mentor-registration.astro:9:3 - warning ts(6133): 'training' is declared but its value is never read.
src/pages/mutua11y/mentor-registration.astro:10:3 - warning ts(6133): 'topics' is declared but its value is never read.
src/pages/podcasts/index.astro:14:7 - warning ts(6133): 'staff' is declared but its value is never read.
src/pages/team/_alumni.astro:2:30 - warning ts(6133): 'CollectionEntry' is declared but its value is never read.
src/pages/images/og/blog/[...id].ts:15:21 - warning ts(6133): 'path' is declared but its value is never read.
src/pages/images/og/pages/[...name].ts:191:21 - warning ts(6133): 'path' is declared but its value is never read.
src/pages/images/og/tips/[...id].ts:21:21 - warning ts(6133): 'path' is declared but its value is never read.
Suggested fix
Delete each unused import / variable / destructured name. For unused-but-required positional parameters (e.g., the path in getImageOptions(path, page) callbacks), prefix with underscore (_path) to suppress the warning while keeping the position.
For donate.astro — the count is large (7 unused names). Worth a quick check whether someone is mid-refactor before deleting; git blame will show recency. If they all look stale, delete.
Acceptance criteria
All listed warnings clear.
npm run build from astro/ still succeeds.
Spot-check the affected pages render unchanged.
Notes
If the file count is too large for a single PR by team convention, split by directory:
Remove unused imports — pages
Labels:
cleanup,tech-debt,good-first-issueEstimated PR size: ~10 files
Note
Ticket description was generated using Claude Code. Review before starting on a fix.
Note
The following issue adds support for
npm run astro:checkSummary
A handful of pages have unused imports / declarations / destructured names producing
ts(6133),ts(6196), orts(6198)warnings. Mechanical cleanup, no behavior change.astro checkwarnings (pages)Suggested fix
Delete each unused import / variable / destructured name. For unused-but-required positional parameters (e.g., the
pathingetImageOptions(path, page)callbacks), prefix with underscore (_path) to suppress the warning while keeping the position.For
donate.astro— the count is large (7 unused names). Worth a quick check whether someone is mid-refactor before deleting;git blamewill show recency. If they all look stale, delete.Acceptance criteria
npm run buildfromastro/still succeeds.Notes
If the file count is too large for a single PR by team convention, split by directory:
donate.astro+about/*+blog/*+podcasts/*(~6 files)mutua11y/*+team/*+join-us/*+globa11y/*+escape-room/*(~6 files)images/og/*+_fixable/*(~4 files)