Cannot specify language in GitHub repository

254 Views Asked by At

I know that GitHub automatically determines a repository's language by looking a the type of files in the repository. It is however supposed to be possible to override this by editing the .gitattributes file in the repository's root, as suggested in GitHub changes repository to the wrong language.

But I'm unable to make this work, and no language is specified for my repository (supposed to be Javascript).

This is my .gitattributes file:

examples/* linguist-vendored
* linguist-vendored
*.js linguist-vendored=false
*.js linguist-detectable=true
*.js linguist-language=JavaScript

My repository is:

https://github.com/arnemorken/anypaginator

0

There are 0 best solutions below