-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lychee.toml
74 lines (54 loc) · 1.43 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
###
### Display
###
# Show progress
progress = false
###
### 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
###
### Requests
###
# User agent to send with each request
user_agent = "curl/7.71.1"
# Website timeout from connect to response finished
timeout = 9
# Comma-separated list of accepted status codes for valid links.
# Omit to accept all response types.
#accept = "text/html"
# Proceed for server connections considered insecure (invalid TLS)
insecure = true
# Only test links with the given scheme (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 = [
# "github", todo github token
"localhost",
"example.com",
"https://opensource.org/license/apache-2-0/",
]
include = []
# Exclude all private IPs from checking
# Equivalent to setting `exclude_private`, `exclude_link_local`, and `exclude_loopback` to true
exclude_all_private = false
# Exclude private IP address ranges from checking
exclude_private = false
# Exclude link-local IP address range from checking
exclude_link_local = false
# Exclude loopback IP address range from checking
exclude_loopback = true
# Exclude all mail addresses from checking
exclude_mail = false