Skip to content

Repository hygiene

Import only works on a case-insensitive disk (breaks the deploy)launch.import-case-mismatch

This import names a file with different upper/lower case than the file in the repository. macOS and Windows ignore the difference, so the app runs on your machine; Linux, which builds and runs it on Vercel, Netlify, Docker or GitHub Actions, does not, and the build fails with "Module not found". It also happens after renaming `button.tsx` to `Button.tsx` on a Mac: git does not notice a rename that only changes case, so the repository keeps the old name.

  • In force Rule launch.import-case-mismatch
  • 3 clauses

At a glance

launch.import-case-mismatch
Severitymedium
CertaintyObserved — the code as written is the problem
Looks atyour source code
When it runsRuns on every scan

How to fix it

Make the import match the file name exactly. If you renamed the file only by case, tell git too: `git mv -f components/button.tsx components/Button.tsx`, then commit.

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.import-case-mismatch -- <why>.

All rules

Your code stays
on your machine

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