TypeScript + React
320 FILES
5 FINDINGS
HOW SPONSORBLOCK
ACTUALLY WORKS
Skip over sponsors, intros, outros, and other annoying parts of YouTube videos. Conventions, patterns, and architecture extracted from the ajayyy/SponsorBlock repository by sourcebook.
Testing: Jest
Exports: Named exports
WHAT_MATTERS
-
→
Hub files: src/config.ts (imported by 41 files), src/types.ts (imported by 34 files). Changes here have the widest blast radius.
KEY_FINDINGS
Hub files: src/config.ts (imported by 41 files), src/types.ts (imported by 34 files). Changes here have the widest blast radius.
HIGHCircular import chains detected: config.ts → types.ts → SubmissionNotice.tsx → utils.ts. Avoid adding to these cycles.
HIGHProject strongly prefers named exports over default exports.
HIGHTests use Jest.
HIGH+ 1 MORE FINDINGS (MEDIUM CONFIDENCE)
Source code lives in src/ but some code files exist at the root. Keep application code in src/.
MED