Skip to content

How do you stop "other" language being detected? #7113

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

You must be logged in to vote

GitHub, independently of Linguist, will group all languages that amount to less than 1% if there are more than one into the "Other" you see.

In your case this will be the JavaScript and TypeScript files:

github-linguist DevSanx/
69.35%  29489      C#
17.52%  7448       CSS
12.86%  5467       HTML
0.21%   91         JavaScript
0.06%   27         TypeScript

These files are all in your Copilot directory.

So if you really don't want to see "Other" (I'm not sure why you'd want to) you need to do one of two things:

  • write more JavaScript or TypeScript to bring the total of one of them by bytes of code over 1%
  • use an override to tell Linguist to exclude these files or directory.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Lamparter
Comment options

Answer selected by Lamparter
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