mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Those files are either external libraries or builds of the repository itself. In any case they are generated automatically and shouldn't count in the language statistics. This also simplifies some of the rules that had to exclude both minified and normal dependencies.
248 lines
3.8 KiB
YAML
248 lines
3.8 KiB
YAML
# Vendored files and directories are excluded from language
|
|
# statistics.
|
|
#
|
|
# Lines in this file are Regexps that are matched against the file
|
|
# pathname.
|
|
#
|
|
# Please add additional test coverage to
|
|
# `test/test_blob.rb#test_vendored` if you make any changes.
|
|
|
|
## Vendor Conventions ##
|
|
|
|
# Caches
|
|
- (^|/)cache/
|
|
|
|
# Dependencies
|
|
- ^[Dd]ependencies/
|
|
|
|
# C deps
|
|
# https://github.com/joyent/node
|
|
- ^deps/
|
|
- ^tools/
|
|
- (^|/)configure$
|
|
- (^|/)configure.ac$
|
|
- (^|/)config.guess$
|
|
- (^|/)config.sub$
|
|
|
|
# Node dependencies
|
|
- node_modules/
|
|
|
|
# Bower Components
|
|
- bower_components/
|
|
|
|
# Erlang bundles
|
|
- ^rebar$
|
|
|
|
# Go dependencies
|
|
- Godeps/_workspace/
|
|
|
|
# Exclude minified JavaScript and CSS
|
|
- \.min\.(js|css)$
|
|
- -min\.js$
|
|
|
|
# Bootstrap css and js
|
|
- (^|/)bootstrap([^.]*)\.(js|css)$
|
|
|
|
# Font Awesome
|
|
- font-awesome.css
|
|
|
|
# Foundation css
|
|
- foundation.css
|
|
|
|
# Normalize.css
|
|
- normalize.css
|
|
|
|
# Bourbon SCSS
|
|
- (^|/)[Bb]ourbon/.*\.css$
|
|
- (^|/)[Bb]ourbon/.*\.scss$
|
|
|
|
# Animate.css
|
|
- animate.css
|
|
|
|
# Vendored dependencies
|
|
- third[-_]?party/
|
|
- 3rd[-_]?party/
|
|
- vendors?/
|
|
- extern(al)?/
|
|
|
|
# Debian packaging
|
|
- ^debian/
|
|
|
|
# Haxelib projects often contain a neko bytecode file named run.n
|
|
- run.n$
|
|
|
|
## Commonly Bundled JavaScript frameworks ##
|
|
|
|
# jQuery
|
|
- (^|/)jquery([^.]*)\.js$
|
|
- (^|/)jquery\-\d\.\d+(\.\d+)?\.js$
|
|
|
|
# jQuery UI
|
|
- (^|/)jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?\.(js|css)$
|
|
- (^|/)jquery\.(ui|effects)\.([^.]*)\.(js|css)$
|
|
|
|
# Prototype
|
|
- (^|/)prototype(.*)\.js$
|
|
- (^|/)effects\.js$
|
|
- (^|/)controls\.js$
|
|
- (^|/)dragdrop\.js$
|
|
|
|
# Typescript definition files
|
|
- (.*?)\.d\.ts$
|
|
|
|
# MooTools
|
|
- (^|/)mootools([^.]*)\d+\.\d+.\d+([^.]*)\.js$
|
|
|
|
# Dojo
|
|
- (^|/)dojo\.js$
|
|
|
|
# MochiKit
|
|
- (^|/)MochiKit\.js$
|
|
|
|
# YUI
|
|
- (^|/)yahoo-([^.]*)\.js$
|
|
- (^|/)yui([^.]*)\.js$
|
|
|
|
# WYS editors
|
|
- (^|/)ckeditor\.js$
|
|
- (^|/)tiny_mce([^.]*)\.js$
|
|
- (^|/)tiny_mce/(langs|plugins|themes|utils)
|
|
|
|
# MathJax
|
|
- (^|/)MathJax/
|
|
|
|
# SyntaxHighlighter - http://alexgorbatchev.com/
|
|
- (^|/)shBrush([^.]*)\.js$
|
|
- (^|/)shCore\.js$
|
|
- (^|/)shLegacy\.js$
|
|
|
|
# AngularJS
|
|
- (^|/)angular([^.]*)\.js$
|
|
|
|
# D3.js
|
|
- (^|\/)d3(\.v\d+)?([^.]*)\.js$
|
|
|
|
# React
|
|
- (^|/)react(-[^.]*)?\.js$
|
|
|
|
# Modernizr
|
|
- (^|/)modernizr\-\d\.\d+(\.\d+)?\.js$
|
|
- (^|/)modernizr\.custom\.\d+\.js$
|
|
|
|
# Knockout
|
|
- (^|/)knockout-(\d+\.){3}(debug\.)?js$
|
|
|
|
## Python ##
|
|
|
|
# django
|
|
- (^|/)admin_media/
|
|
|
|
# Fabric
|
|
- ^fabfile\.py$
|
|
|
|
# WAF
|
|
- ^waf$
|
|
|
|
# .osx
|
|
- ^.osx$
|
|
|
|
## Obj-C ##
|
|
|
|
# Cocoapods
|
|
- ^Pods/
|
|
|
|
# Sparkle
|
|
- (^|/)Sparkle/
|
|
|
|
## Groovy ##
|
|
|
|
# Gradle
|
|
- (^|/)gradlew$
|
|
- (^|/)gradlew\.bat$
|
|
- (^|/)gradle/wrapper/
|
|
|
|
## .NET ##
|
|
|
|
# Visual Studio IntelliSense
|
|
- -vsdoc\.js$
|
|
- \.intellisense\.js$
|
|
|
|
# jQuery validation plugin (MS bundles this with asp.net mvc)
|
|
- (^|/)jquery([^.]*)\.validate(\.unobtrusive)?\.js$
|
|
- (^|/)jquery([^.]*)\.unobtrusive\-ajax\.js$
|
|
|
|
# Microsoft Ajax
|
|
- (^|/)[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$
|
|
|
|
# NuGet
|
|
- ^[Pp]ackages\/.+\.\d+\/
|
|
|
|
# ExtJS
|
|
- (^|/)extjs/.*?\.js$
|
|
- (^|/)extjs/.*?\.xml$
|
|
- (^|/)extjs/.*?\.txt$
|
|
- (^|/)extjs/.*?\.html$
|
|
- (^|/)extjs/.*?\.properties$
|
|
- (^|/)extjs/.sencha/
|
|
- (^|/)extjs/docs/
|
|
- (^|/)extjs/builds/
|
|
- (^|/)extjs/cmd/
|
|
- (^|/)extjs/examples/
|
|
- (^|/)extjs/locale/
|
|
- (^|/)extjs/packages/
|
|
- (^|/)extjs/plugins/
|
|
- (^|/)extjs/resources/
|
|
- (^|/)extjs/src/
|
|
- (^|/)extjs/welcome/
|
|
|
|
# Html5shiv
|
|
- (^|/)html5shiv\.js$
|
|
|
|
# Samples folders
|
|
- ^[Ss]amples/
|
|
|
|
# LICENSE, README, git config files
|
|
- ^COPYING$
|
|
- LICENSE$
|
|
- License$
|
|
- gitattributes$
|
|
- gitignore$
|
|
- gitmodules$
|
|
- ^README$
|
|
- ^readme$
|
|
|
|
# Test fixtures
|
|
- ^[Tt]est/fixtures/
|
|
|
|
# PhoneGap/Cordova
|
|
- (^|/)cordova([^.]*)\.js$
|
|
- (^|/)cordova\-\d\.\d(\.\d)?\.js$
|
|
|
|
# Foundation js
|
|
- foundation(\..*)?\.js$
|
|
|
|
# Vagrant
|
|
- ^Vagrantfile$
|
|
|
|
# .DS_Store's
|
|
- .[Dd][Ss]_[Ss]tore$
|
|
|
|
# Mercury --use-subdirs
|
|
- Mercury/
|
|
|
|
# R packages
|
|
- ^vignettes/
|
|
- ^inst/extdata/
|
|
|
|
# Octicons
|
|
- octicons.css
|
|
- sprockets-octicons.scss
|
|
|
|
# Typesafe Activator
|
|
- (^|/)activator$
|
|
- (^|/)activator\.bat$
|
|
|
|
# ProGuard
|
|
- proguard.pro
|
|
- proguard-rules.pro
|