github/linguist — pull request #149 by xpaulbettsx (2012-03-28 21:12:00+00:00)
Title: Ignore any root dir named samples

## What is this?

Many repositories for large libraries store their samples along with the library (the motivating example being https://github.com/signalr/signalr). These libraries often get incorrectly marked as other languages, especially JavaScript if they are web libraries.

## How can we fix it on the cheap?

This PR establishes a new convention, that the `Samples` folder will not be considered part of the repo's codebase. We considered recognizing files by hash (i.e. building a list of SHA1s => JS libs), but AutoCRLF throws some salt in that game.

Thoughts? Comments? Concerns? :shipit:?