Skip to content

The language of all my files is not recognized, like ts, js, vue... #5946

Answered by lildude
DrAugus asked this question in Q&A
Discussion options

You must be logged in to vote

This is because all your code is under the docs directory which is commonly used for… documentation 😁 so Linguist ignores it and everything within it:

https://github.com/github/linguist/blob/d7799da826e01acdb8f84694d33116dccaabe9c2/lib/linguist/documentation.yml#L12

You can implement an override to tell Linguist to not consider the directory as documentation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DrAugus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants