func ShouldIgnoreFilename(filename string) bool {
	return IsVendored(filename) || IsDocumentation(filename)
}
Checks if filename should not be passed to LanguageByFilename.

(this simply calls IsVendored and IsDocumentation)
package linguist
import (
	"log"
	"regexp"
	"strings"
	"gopkg.in/yaml.v1"
)