Skip to content

Language is not showing up #6236

Discussion options

You must be logged in to vote

This is happening because linguist is detecting the file as being minified JavaScript due to many many lines that are longer then 110 chars and is thus considering it generated and this ignores the file.

$ github-linguist Discogs-Scout/Discogs_Scout.user.js
Discogs-Scout/Discogs_Scout.user.js: 792 lines (734 sloc)
  type:      Text
  mime type: application/javascript
  language:  JavaScript
  appears to be generated source code
$

You'll need to implement an override to explicitly mark the file as not being a generated file.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lildude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #6229 on January 01, 2023 15:57.