Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Linguist issue due to the missing shebang #1567

Open
scripthunter7 opened this issue Feb 17, 2025 · 0 comments
Open

GitHub Linguist issue due to the missing shebang #1567

scripthunter7 opened this issue Feb 17, 2025 · 0 comments

Comments

@scripthunter7
Copy link

Since Husky has removed the shebang from the hook scripts, GitHub Linguist no longer recognizes these files (like .husky/pre-commit). If I understand correctly, there is no clear solution to this issue from the Linguist side, so I suggest restoring the shebang in some form or at least mentioning this case in the documentation.

For more details, see the Linguist issue: github-linguist/linguist#7239

It is possible that this could also help other environments detect the file type properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant