-
Notifications
You must be signed in to change notification settings - Fork 4
/
.ackrc
40 lines (33 loc) · 1.01 KB
/
.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
# Use case-insensitive less as the pager. -r is so we get color escape codes
--pager=less -ix4SRFX
# Always use color
--color
# Case-insensitive if query is lower case, otherwise it's case sensitive
--smart-case
# Show context of search hit
--context
# Filetypes that do not ship with ack
--type-set=haml=.haml
--type-set=erb=.erb
--type-set=sass=.sass
--type-set=scss=.scss
--type-set=less=.less
--type-set=sql=.q
--type-set=coffee=.coffee
--type-set=handlebars=.handlebars
--type-add=html=.handlebars,.tmpl
--type-set=jst=.jst
--type-set=json=.json
--type-set=less=.less
--type-set=jsx=.jsx
################################################################################
# Khan Academy specific
# Ignore files matching the following regex
# TODO: ack2 broke the below
#--invert-file-match
#-G(hashed-\w+.(js|css)|combined\.(js|css)|compressed\.(js|css)|\.handlebars\.js$)
# Directories to ignore at any level
--ignore-dir=third_party
--ignore-dir=exercises-packed
--ignore-dir=compiled_templates
--ignore-dir=deploy/node_modules