forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ackrc
34 lines (28 loc) · 768 Bytes
/
.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
# You know, for ack
# if the pattern contains no uppercase letters, assume --ignore-case
--smart-case
# Set some types
--type-set=json=.json
--type-set=ignore=.gitignore
--type-set=scss=.scss
--type-set=svg=.svg
# Page this mofo
--pager=less -rE
# 1 line of context around each match
--context=1
# Ignore this crap
--ignore-dir=node_modules
--ignore-dir=build
--ignore-dir=.coverage
--ignore-dir=coverage
--ignore-dir=.sass-cache
--ignore-dir=.nyc_output
--ignore-file=match:/.*\.?bundle\.js/
--ignore-file=match:/.*\.min\.js/
--ignore-file=match:/npm-debug\.log/
--ignore-file=match:/.*\.map/
--ignore-file=match:/.*scrabble.*/
--ignore-file=match:/.*\.svg/
--ignore-file=match:/.coverage/
--ignore-file=match:/package-lock\.json/
--ignore-file=match:/.*\.csv/