Issue: TypeScript not appearing in profile language graph despite 100% usage #7529
Unanswered
gamaalice
asked this question in
Classification
Replies: 1 comment
-
I’m not familiar with what you’re referring to. Can you please provide a direct link to this page and a screenshot showing the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My GitHub profile's “Most Used Languages” graph does not show TypeScript, even though I have a public repository that is entirely written in TypeScript. The repository is correctly recognized as 100% TypeScript when viewed directly, but this is not reflected in the profile graph.
Details:
GitHub username: gamaalice
Repository: gamaalice/cryptodashbord
Branch: main (default)
Languages used: Only .ts and .tsx files for logic and components
.gitattributes configuration:
*.ts linguist-language=TypeScript
*.tsx linguist-language=TypeScript
*.json linguist-generated=true
*.yaml linguist-generated=true
*.yml linguist-generated=true
*.lock linguist-generated=true
*.md linguist-generated=true
*.mjs linguist-generated=true
*.css linguist-generated=true
*.html linguist-generated=true
GitHub recognizes the repo as 100% TypeScript on the repository page.
However, TypeScript does not appear at all in my profile’s “Most Used Languages” graph.
Comparison:
I have another repository that is much smaller and contains only HTML, CSS, and JS. Despite its size, it appears correctly in the profile graph with proportional percentages. This suggests that the issue is not related to file size, and that TypeScript is being ignored or misclassified.
Expected Behavior:
TypeScript should appear in the profile language graph when:
A repository is entirely written in TypeScript
.gitattributes is correctly configured
The repository is public and on the default branch
Request:
Please investigate why TypeScript is not being reflected in the profile graph, and whether Linguist is misclassifying .tsx files or ignoring .gitattributes settings. This issue affects the accuracy of developer profiles and misrepresents technical expertise.
link to repository: https://github.com/[gamaalice/cryptodashbord](https://github.com/gamaalice/cryptodashbord)
Beta Was this translation helpful? Give feedback.
All reactions