-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathuser.ackrc
178 lines (128 loc) · 3.54 KB
/
user.ackrc
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
--ignore-ack-defaults
# This is the default ackrc for ack version 2.14.
# There are four different ways to match
#
# is: Match the filename exactly
#
# ext: Match the extension of the filename exactly
#
# match: Match the filename against a Perl regular expression
#
# firstlinematch: Match the first 250 characters of the first line
# of text against a Perl regular expression. This is only for
# the --type-add option.
### Directories to ignore
# Git
# http://git-scm.com/
--ignore-directory=is:.git
# Node modules created by npm
--ignore-directory=is:node_modules
# Vendor workspace folder
# http://laravel.com
--ignore-directory=is:vendor
--ignore-directory=is:bootstrap
--ignore-directory=is:storage
--ignore-directory=is:build
--ignore-directory=is:laradock
--ignore-directory=is:docker
--ignore-dir=.idea
--ignore-dir=public
--ignore-dir=resources
--ignore-dir=assets
--ignore-dir=js
--ignore-dir=css
--ignore-dir=components
--ignore-dir=sass
### Files to ignore
# minified Javascript
--ignore-file=match:/[.-]min[.]js$/
--ignore-file=match:/[.]js[.]min$/
# minified CSS
--ignore-file=match:/[.]min[.]css$/
--ignore-file=match:/[.]css[.]min$/
# JS and CSS source maps
--ignore-file=match:/[.]js[.]map$/
--ignore-file=match:/[.]css[.]map$/
# PDFs, because they pass Perl's -T detection
--ignore-file=ext:pdf
--ignore-file=ext:log
# Common graphics, just as an optimization
--ignore-file=ext:gif,jpg,jpeg,png
# Mac
--ignore-file=match:/[.]DS_Store$/
--ignore-file=match:/favicon.ico$/
# Laravel ENV Dev
--ignore-file=match:/[.]env$/
--ignore-file=match:/[.]env.example$/
--ignore-file=match:/tags$/
--ignore-file=match:/yarn.lock$/
--ignore-file=match:/composer.lock$/
--ignore-file=match:/readme.md$/
--ignore-file=match:/[.]gitattributes$/
--ignore-file=match:/[.]gitignore$/
--ignore-file=match:/Dockerfile$/
--ignore-file=match:/dockerfile$/
--ignore-file=match:/docker-compose.yml$/
--ignore-file=match:/Docker-compose.yml$/
--ignore-file=match:/[.]docker-compose.yml$/
--ignore-file=match:/Vagrantfile$/
--ignore-file=match:/Homestead.yaml$/
--ignore-file=match:/[.]gitmodules$/
--ignore-file=match:/[.]htaccess$/
--ignore-file=match:/[.]_htaccess$/
--ignore-file=match:/robots.txt$/
--ignore-file=match:/server.php$/
--ignore-file=match:/web.config$/
--ignore-file=match:/[.]phpstorm.meta.php$/
# Makefiles
# http://www.gnu.org/s/make/
--type-add=make:is:makefile
--type-add=make:is:Makefile
# Dockerfile
# http://docker.io
--type-add=make:is:Dockerfile
--type-add=make:is:docker-compose.yml
# Vagrantfile
# http://vagrant.up
--type-add=make:is:Vagrantfile
--type-add=make:is:Homestead.yaml
# Batch
--type-add=batch:ext:bat,cmd
# CSS
# http://www.w3.org/Style/CSS/
--type-add=css:ext:css
# HTML
--type-add=html:ext:htm,html
# JavaScript
--type-add=js:ext:js
# JSON
# http://www.json.org/
--type-add=json:ext:json
# PHP
# http://www.php.net/
--type-add=php:ext:php,phpt,php3,php4,php5,phtml
--type-add=php:firstlinematch:/^#!.*\bphp/
# Sass
# http://sass-lang.com
--type-add=sass:ext:sass,scss
# Shell
--type-add=shell:ext:sh,bash,csh,tcsh,ksh,zsh,fish
--type-add=shell:firstlinematch:/^#!.*\b(?:ba|t?c|k|z|fi)?sh\b/
# SQL
# http://www.iso.org/iso/catalogue_detail.htm?csnumber=45498
--type-add=sql:ext:sql,ctl
# http://www.vim.org/
--type-add=vim:ext:vim
# XML
# http://www.w3.org/TR/REC-xml/
--type-add=xml:ext:xml,dtd,xsl,xslt,ent
--type-add=xml:firstlinematch:/<[?]xml/
# YAML
# http://yaml.org/
--type-add=yaml:ext:yaml,yml
# VUE
# http://vuejs.org
--type-add=vue:ext:vue
# BLADE
# https://laravel.com/docs/5.3/blade
--type-add=blade:ext:blade.php