-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_ackrc
More file actions
103 lines (81 loc) · 2.54 KB
/
Copy pathdot_ackrc
File metadata and controls
103 lines (81 loc) · 2.54 KB
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
##############################################################
# Searching:
##############################################################
# only case sensitive search if input is mixed case
--smart-case
##############################################################
# File presentation:
##############################################################
# Print filename heading above each files results, and break between files
--group
# Enable color output
--color
# Filename in output is red
--color-filename=red
# Line number in output is white
--color-lineno=white
##############################################################
# File finding:
##############################################################
# Sort found files lexically
--sort-files
##############################################################
# File finding:
##############################################################
# Git
# https://git-scm.com/
--ignore-directory=is:.git
# When submodules are used, .git is a file.
--ignore-file=is:.git
# Node modules created by npm
--ignore-directory=is:node_modules
# Python caches
# https://docs.python.org/3/tutorial/modules.html
--ignore-directory=is:__pycache__
--ignore-directory=is:.pytest_cache
# macOS Finder remnants
--ignore-directory=is:__MACOSX
--ignore-file=is:.DS_Store
# Backup files
--ignore-file=ext:bak
--ignore-file=match:/~$/
# vi/vim swap files https://www.vim.org/
--ignore-file=match:/[._].*[.]swp$/
# core dumps
--ignore-file=match:/core[.]\d+$/
# 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
# Common graphics, just as an optimization
--ignore-file=ext:gif,jpg,jpeg,png
# Common archives, as an optimization
--ignore-file=ext:gz,tar,tgz,zip
# Python compiled modules
--ignore-file=ext:pyc,pyd,pyo
##############################################################
# File type specifications:
##############################################################
--type-add=csv:ext:csv,tsv
--type-add=gettext:ext:pot,po
--type-add=html:ext:shtml,xhtml,tpl,vm
--type-add=haml:ext:haml
--type-add=plaintext:ext:md,mdown,markdown,textile,rst,txt
--type-add=puppet:ext:pp
--type-add=ruby:ext:thor
--type-add=scala:ext:sbt
--type-add=thrift:ext:thrift
# By default don't search html, css, javascript, etc
--nocsv
--nogettext
--nohtml
--nocss
--nojs
--nojson