-
Notifications
You must be signed in to change notification settings - Fork 95
/
ignore.go
163 lines (163 loc) · 4.38 KB
/
ignore.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
package main
//This file is copied from https://raw.githubusercontent.com/github/linguist/master/lib/linguist/vendor.yml
//This file filters items that are considered noisey and not useful in most situations.
var InternalWordlist = []string{
".npm/",
"usr/share/",
"(^|/)cache/",
"^[Dd]ependencies/",
"(^|/)dist/",
"^deps/",
"(^|/)configure$",
"(^|/)config.guess$",
"(^|/)config.sub$",
"(^|/)aclocal.m4",
"(^|/)libtool.m4",
"(^|/)ltoptions.m4",
"(^|/)ltsugar.m4",
"(^|/)ltversion.m4",
"(^|/)lt~obsolete.m4",
"cpplint.py",
"node_modules/",
"bower_components/",
"^rebar$",
"erlang.mk",
"Godeps/_workspace/",
".indent.pro",
"(\\.|-)min\\.(js|css)$",
"([^\\.]*)import\\.(css|less|scss|styl)$",
"(^|/)bootstrap([^.]*)\\.(js|css|less|scss|styl)$",
"(^|/)custom\\.bootstrap([^\\.]*)(js|css|less|scss|styl)$",
"(^|/)font-awesome\\.(css|less|scss|styl)$",
"(^|/)font-awesome/.*\\.(css|less|scss|styl)$",
"(^|/)foundation\\.(css|less|scss|styl)$",
"(^|/)normalize\\.(css|less|scss|styl)$",
"(^|/)skeleton\\.(css|less|scss|styl)$",
"(^|/)[Bb]ourbon/.*\\.(css|less|scss|styl)$",
"(^|/)animate\\.(css|less|scss|styl)$",
"(^|/)materialize\\.(css|less|scss|styl|js)$",
"(^|/)select2/.*\\.(css|scss|js)$",
"third[-_]?party/",
"3rd[-_]?party/",
"vendors?/",
"extern(al)?/",
"(^|/)[Vv]+endor/",
"^debian/",
"run.n$",
"bootstrap-datepicker/",
"(^|/)jquery([^.]*)\\.js$",
"(^|/)jquery\\.\\.\\.\\.+(\\.\\.+)?\\.js$",
"(^|/)jquery\\.ui(\\.\\.\\.\\.+(\\.\\.+)?)?(\\.\\.+)?\\.(js|css)$",
"(^|/)jquery\\.(ui|effects)\\.([^.]*)\\.(js|css)$",
"jquery.fn.gantt.js",
"jquery.fancybox.(js|css)",
"fuelux.js",
"(^|/)jquery\\.fileupload(-\\.+)?\\.js$",
"jquery.dataTables.js",
"bootbox.js",
"pdf.worker.js",
"(^|/)slick\\.\\.+.js$",
"(^|/)Leaflet\\.Coordinates-\\.+\\.\\.+\\.\\.+\\.src\\.js$",
"leaflet.draw-src.js",
"leaflet.draw.css",
"Control.FullScreen.css",
"Control.FullScreen.js",
"leaflet.spin.js",
"wicket-leaflet.js",
".sublime-project",
".sublime-workspace",
".vscode",
"(^|/)prototype(.*)\\.js$",
"(^|/)effects\\.js$",
"(^|/)controls\\.js$",
"(^|/)dragdrop\\.js$",
"(.*?)\\.d\\.ts$",
"(^|/)mootools([^.]*)\\.+\\.\\.+.\\.+([^.]*)\\.js$",
"(^|/)dojo\\.js$",
"(^|/)MochiKit\\.js$",
"(^|/)yahoo-([^.]*)\\.js$",
"(^|/)yui([^.]*)\\.js$",
"(^|/)ckeditor\\.js$",
"(^|/)tiny_mce([^.]*)\\.js$",
"(^|/)tiny_mce/(langs|plugins|themes|utils)",
"(^|/)ace-builds/",
"(^|/)fontello(.*?)\\.css$",
"(^|/)MathJax/",
"(^|/)Chart\\.js$",
"(^|/)[Cc]ode[Mm]irror/(\\.+\\.\\.+/)?(lib|mode|theme|addon|keymap|demo)",
"(^|/)shBrush([^.]*)\\.js$",
"(^|/)shCore\\.js$",
"(^|/)shLegacy\\.js$",
"(^|/)angular([^.]*)\\.js$",
"(^|\\.)d3(\\.v\\.+)?([^.]*)\\.js$",
"(^|/)react(-[^.]*)?\\.js$",
"(^|/)flow-typed/.*\\.js$",
"(^|/)modernizr\\.\\.\\.\\.+(\\.\\.+)?\\.js$",
"(^|/)modernizr\\.custom\\.\\.+\\.js$",
"(^|/)knockout-(\\.+\\.){3}(debug\\.)?js$",
"(^|/)docs?/_?(build|themes?|templates?|static)/",
"(^|/)admin_media/",
"(^|/)env/",
"^fabfile\\.py$",
"^waf$",
"^.osx$",
"\\.xctemplate/",
"\\.imageset/",
"(^|/)Carthage/",
"(^|/)Sparkle/",
"Crashlytics.framework/",
"Fabric.framework/",
"BuddyBuildSDK.framework/",
"Realm.framework",
"RealmSwift.framework",
"gitattributes$",
"gitignore$",
"gitmodules$",
"(^|/)gradlew$",
"(^|/)gradlew\\.bat$",
"(^|/)gradle/wrapper/",
"(^|/)mvnw$",
"(^|/)mvnw\\.cmd$",
"(^|/)\\.mvn/wrapper/",
"-vsdoc\\.js$",
"\\.intellisense\\.js$",
"(^|/)jquery([^.]*)\\.validate(\\.unobtrusive)?\\.js$",
"(^|/)jquery([^.]*)\\.unobtrusive\\.ajax\\.js$",
"(^|/)[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\\.debug)?\\.js$",
"^[Pp]ackages\\..+\\.\\.+\\.",
"(^|/)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\\.js$",
"^[Tt]ests?/fixtures/",
"^[Ss]pecs?/fixtures/",
"(^|/)cordova([^.]*)\\.js$",
"(^|/)cordova\\.\\.\\.\\.(\\.\\.)?\\.js$",
"foundation(\\..*)?\\.js$",
"^Vagrantfile$",
".[Dd][Ss]_[Ss]tore$",
"^vignettes/",
"^inst/extdata/",
"octicons.css",
"sprockets-octicons.scss",
"(^|/)activator$",
"(^|/)activator\\.bat$",
"proguard.pro",
"proguard-rules.pro",
"^puphpet/",
"(^|/)\\.google_apis/",
"^Jenkinsfile$",
}