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

Invalid language for project #29

Open
ccoVeille opened this issue Aug 6, 2024 · 2 comments
Open

Invalid language for project #29

ccoVeille opened this issue Aug 6, 2024 · 2 comments

Comments

@ccoVeille
Copy link
Collaborator

ccoVeille commented Aug 6, 2024

When looking for project in GitHub you will see it reports the project is in C, while it's in Go

Screenshot_20240806_183658_GitHub.jpg

You have to use .gitattributes to exclude some folders from language computing

https://github.com/github-linguist/linguist/blob/master/docs/overrides.md

@ccoVeille
Copy link
Collaborator Author

Here are some examples

https://github.com/search?q=path:/.gitattributes linguist&type=code

Maybe detectable=false or vendored

@alegrey91
Copy link
Owner

thanks for sharing, I'll take a glance asap :)

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

2 participants