-
Notifications
You must be signed in to change notification settings - Fork 121
/
lychee.toml
92 lines (65 loc) · 1.88 KB
/
lychee.toml
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
###
### Display
###
# Verbose program output
verbose = "info"
# Show progress
no_progress = true
###
### Runtime
###
# Number of threads to utilize.
# Defaults to number of cores available to the system if omitted.
#threads = 2
# Maximum number of allowed redirects
max_redirects = 10
### Retries
max_retries = 0
### Cache
cache = true
### Output
output = "lychee-out.md"
###
### Requests
###
# Website timeout from connect to response finished
timeout = 20
# Comma-separated list of accepted status codes for valid links.
# Omit to accept all response types.
# Accept 401/403 responses because "access denied" responses don't necessarily
# indicate a bad link.
#
# Accept 429 responses. They come from GitHub when you are sending too
# many requests and get throttled. They don't indicate a bad link.
# See https://github.com/lycheeverse/lychee/issues/367.
accept = ["200..=299", "401", "403", "429"]
# Proceed for server connections considered insecure (invalid TLS)
insecure = false
# Only test links with the given schemes (e.g. https)
# Omit to check links with any scheme
#scheme = [ "https" ]
# Request method
method = "get"
# Custom request headers
headers = []
###
### Exclusions
###
# Exclude URLs from checking (supports regex)
exclude = []
# Exclude URLs contained in a file from checking
# If a file named `.lycheeignore` exists in the current working directory,
# its contents will be excluded as well.
exclude_file = []
include = []
# Exclude all private IPs from checking
# Equivalent to setting `exclude_private`, `exclude_link_local`, and `exclude_loopback` to true
exclude_all_private = true
# Exclude private IP address ranges from checking
exclude_private = true
# Exclude link-local IP address range from checking
exclude_link_local = true
# Exclude loopback IP address range and localhost from checking
exclude_loopback = true
# Check mail addresses
include_mail = false