Skip to content

fix: improve binary file detection for text files#18

Merged
Fralleee merged 1 commit into
mainfrom
improve-binary-detection
Jan 16, 2026
Merged

fix: improve binary file detection for text files#18
Fralleee merged 1 commit into
mainfrom
improve-binary-detection

Conversation

@Fralleee
Copy link
Copy Markdown
Owner

@Fralleee Fralleee commented Jan 16, 2026

Binary detection now checks the built-in language map first, correctly recognizing extensions like .svelte, .vue, and .zmodel
as text files.

  • Add languageMap check as the first detection layer
  • Add additionalTextExtensions setting for user overrides
  • Add new extensions: astro, ejs, hbs, liquid, mdx, prisma, zmodel

@Fralleee Fralleee merged commit 6a78ed2 into main Jan 16, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Fralleee Fralleee deleted the improve-binary-detection branch February 2, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant