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
| Severity | medium |
|---|---|
| Certainty | Observed — the code as written is the problem |
| Looks at | your source code |
| When it runs | Runs 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>.
Your code stays
on your machine
Only findings are uploaded, and only to your own dashboard.
ScanlyFix
Security, privacy pages, SEO and AI visibility checked in one scan, with fixes your AI editor can apply.
Home