Skip to content

Repository hygiene

Source file is too large to review safelylaunch.oversized-file

Files over 1,000 lines usually mix many responsibilities. They are hard to review, so bugs and security checks get missed, and AI assistants editing them lose track and duplicate or break logic.

  • In force Rule launch.oversized-file
  • 3 clauses

At a glance

launch.oversized-file
Severitylow
CertaintyObserved — the code as written is the problem
Looks atyour source code
When it runsRuns on every scan

How to fix it

Split it by responsibility: UI components, data access, validation and helpers in separate modules.

Check your own app

Run npx scanlyfix scan in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.

If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line launch.oversized-file -- <why>.

All rules

Your code stays
on your machine

Only findings are uploaded, and only to your own dashboard.