Managing generated files in GitHub
medium.com
medium.com
The vendored can help maintain your language stats which show up on your repo page and in GH/explore.
For rails you could add something like this so all the JS you've imported isn't counted.
``` vendor/* linguist-vendored ```
- author